Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Parsing Multiple Lines.by NetWallah (Canon) |
on May 24, 2004 at 03:59 UTC ( [id://355822]=note: print w/replies, xml ) | Need Help?? |
You have declared the filehandle used in "open" (my $fh) - If FILEHANDLE is an undefined lexical (my) variable the variable is assigned a reference to a new anonymous filehandle....
Juse use an UNDEFINED name like FH (No dollar), and you'll be OK.
In Section
Seekers of Perl Wisdom
|
|