Perl-Sensitive Sunglasses | |
PerlMonks |
the answer to an 'uninitialized value, now how do I implement it?by Bismark (Scribe) |
on Jan 18, 2003 at 02:20 UTC ( [id://227899]=perlquestion: print w/replies, xml ) | Need Help?? |
Bismark has asked for the wisdom of the Perl Monks concerning the following question:
In the snippet below I have the dreaded "uninitialized value" I see the cause. $searchresult is initialized with three values, then when I try to use it in the print statement I try to give it seven values, 3 - 7 are the uninitialized culprits. I eventually want to have more than seven fields, so how do I initialize them in the beginning?
Back to
Seekers of Perl Wisdom
|
|