![]() |
|
P is for Practical | |
PerlMonks |
Re^2: Extracting string from a fileby RMGir (Prior) |
on Nov 20, 2013 at 13:09 UTC ( #1063515=note: print w/replies, xml ) | Need Help?? |
It's a simple bug - you're copying the file handle rather than reading from it.
should instead be The "<>" around $FH reads from the filehandle (a line at a time, in this context). Mike
In Section
Seekers of Perl Wisdom
|
|