P is for Practical | |
PerlMonks |
Re^5: Need to search for a string in a fileby aaron_baugher (Curate) |
on Oct 21, 2011 at 18:36 UTC ( [id://932956]=note: print w/replies, xml ) | Need Help?? |
Interesting. Maybe someone who knows how to use the debugger better than I do could try it and see where the memory is going. Perhaps the <$fh> syntax only works as I'm thinking when used in scalar context? I do seem to remember reading somewhere (camel book?) that there's some extra magic when it's used in a while loop that it doesn't have otherwise.
In Section
Seekers of Perl Wisdom
|
|