laziness, impatience, and hubris | |
PerlMonks |
Re: How to print a file line by line?by Anonymous Monk |
on Jul 04, 2000 at 03:28 UTC ( [id://20963]=note: print w/replies, xml ) | Need Help?? |
<IN> in scalar context will only return one line per call, while in list context it will return a list of all the (remaining) lines in the file. Therefore, replace with
In Section
Seekers of Perl Wisdom
|
|