Think about Loose Coupling | |
PerlMonks |
Re: Out of memoryby fishmonger (Chaplain) |
on Jan 15, 2015 at 15:23 UTC ( [id://1113345]=note: print w/replies, xml ) | Need Help?? |
How big is Data2014.txt? I doubt that the out of memory problem is due to slurping that file into an array instead of looping over it line-by-line. I suspect that the out of memory issue is related to the retrieval of the url/file. Instead of copying the content into one or more vars, I'd output it directly to the file. EDIT:
In Section
Seekers of Perl Wisdom
|
|