laziness, impatience, and hubris | |
PerlMonks |
Re^3: nested <FILE> read returns undefined?by rjray (Chaplain) |
on Mar 31, 2006 at 07:03 UTC ( [id://540395]=note: print w/replies, xml ) | Need Help?? |
It's not a matter of for reading the whole file or not. The for expression has a list-context within the parens, and in a list context <> reads the entire file. --rjray
In Section
Seekers of Perl Wisdom
|
|