Take a look at the :content_cb => \&callback parameter to GET.
Essentially, you supply a subroutine that LWP will call each time a new block of the file arrives, so you can save it to a file of your choice as it arrives, rather than accumulating it in memory and giving it to you in one huge lump.
In reply to Re: LWP::UserAgent & memory problems
by BrowserUk
in thread LWP::UserAgent & memory problems
by Uree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |