![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Reading file contentsby d5e5 (Beadle) |
on Jul 04, 2011 at 20:05 UTC ( #912697=note: print w/replies, xml ) | Need Help?? |
Look at line 44 of your script: sysopen(my $FH,$path,O_RDONLY) or die "Could not open $path the 2nd time"; You have already declared $FH so the my declares it again which masks the previously declared variable of the same name.
In Section
Seekers of Perl Wisdom
|
|