![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: What eats up less resources?by trantor (Chaplain) |
on Dec 11, 2001 at 18:47 UTC ( #130935=note: print w/replies, xml ) | Need Help?? |
Try it yourself with benchmark :-) Reading record by record is buffered anyway, so it is my opinion that, since your file grows in time, slurping it in a single read would use much more memory in the long run. -- TMTOWTDI
In Section
Seekers of Perl Wisdom
|
|