There's more than one way to do things | |
PerlMonks |
Re: Reading huge file contentby johngg (Canon) |
on Dec 06, 2007 at 14:17 UTC ( [id://655412]=note: print w/replies, xml ) | Need Help?? |
I don't think that's going to work very well. Each time do the read in the while you just clobber what you have read before. Perhaps you should append $data to a different scalar. I would also cut down the size of your reads and possibly introduce an updating counter to see how far you have successfully read through the file. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|