perlquestion
AI Cowboy
Greetings fellow monks...
<p></p>My problem is fairly simple.
<p></p>Is there a way to fix the issue of loading files into memory with LWP::Simple Getstore(), so that you can load larger files without worrying about crashing the computer and causing the universe to explode?
<p></p>I looked at <a href="http://search.cpan.org/dist/libwww-perl/bin/lwp-download">LWP-Download</a> but it doesn't have any documentation I can see, I have no idea how to use it. The only other way I can figure out how to fix the issue is reading a file line by line and printing it to a new line on a new file on the local machine, but that would cause issues with encoding, wouldn't it?
<p></p>As always, all help is appreciated!
<p></p>EDIT: I have solved the problem with content_file, thanks to everyone for pointing out things I'd missed :)