perlquestion
Sprad
This program:
<code>
#!/usr/bin/perl -w
my $a = 1;
my $b = 2;
my $c = 3;
my $d = 4;
my $e;
print "$a $b $c $d $e\n";
</code>
Produces this output:
<code>
Use of uninitialized value in concatenation (.) or string at C:\testperl\undef.pl line 9.
1 2 3 4
</code>
While the warning does point me in the right direction, on lines with many variables being used at once, it can take a bit of work to figure out exactly which one is undefined. Is there a way to get more explicit information from warnings like these?
<div class="pmsig"><div class="pmsig-64446">
<p>
<font size = -1>---<br>
A fair fight is a sign of poor planning.</font>
</div></div>