Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Why is "for" much slower than "while"?by Anonymous Monk |
on Jan 15, 2010 at 13:20 UTC ( [id://817637]=note: print w/replies, xml ) | Need Help?? |
context, while is scalar, for is list, and readline reads the whole file in list context
In Section
Seekers of Perl Wisdom
|
|