<br><br><div class="gmail_quote">On Sat, Jan 17, 2009 at 10:50 AM, Jay Hannah <span dir="ltr">&lt;<a href="mailto:jay@jays.net">jay@jays.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Jan 15, 2009, at 1:18 PM, Dan Linder wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>From this site URL: <a href="http://www.xav.com/perl/lib/Pod/perllexwarn.html" target="_blank">http://www.xav.com/perl/lib/Pod/perllexwarn.html</a><br>
Looks like I need to wrapper line 55 like this:<br>
<br>
55 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;} else {<br>
56 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;($value, $parm)=split(/\s+/,$line,2);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;no warnings qw(uninitialized);<br>
57 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$myhash1{$section_name}{$parm} = $value;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;use warnings qw(uninitialized);<br>
58 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>
</blockquote>
<br></div>
Line 57 has 4 moving parts, any of which will throw a warning if things aren&#39;t kosher.<br>
<br>
- Is %myhash1 guaranteed to be defined?<br>
- Is $section_name guaranteed to be defined?<br>
- Is $parm guaranteed to be defined?<br>
- Is $value guaranteed to be defined?</blockquote><div><br>The lines of code that I didn&#39;t include are a definition of the %myhash1, $section_name, and $line.&nbsp; <br><br>True $value and $param could possibly be incorrect, but that&#39;ll be blamed on the input file that fills in the $line variable.<br>
<br>And thanks for the un-needed &quot;use warnings&quot; post line 57.&nbsp; (I was thinking I&#39;d have to save $^W somehow and re-apply it...)<br></div></div><br>I&#39;ll hopefully get this played with later today and report back my findings.<br>
<br>Dan<br clear="all"><br>-- <br>&quot;Quis custodiet ipsos custodes?&quot; (Who can watch the watchmen?) -- from the Satires of Juvenal<br>&quot;I do not fear computers, I fear the lack of them.&quot; -- Isaac Asimov (Author)<br>
** *** ***** ******* *********** *************<br>