![]() |
|
more useful options | |
PerlMonks |
Re: Perl on Windows XP needs to grab internet txt file.by Jim (Curate) |
on Feb 02, 2008 at 23:17 UTC ( #665777=note: print w/replies, xml ) | Need Help?? |
Consider using LWP::Simple::mirror for your specific task. There's a good example of its use in the article about LWP::Simple on the 22nd day of the 2003 Perl Advent Calendar. Here's my own example:
See 14.13 Content-Length and 14.25 If-Modified-Since for the gory details of what's going on under the hood. Cheers!
In Section
Seekers of Perl Wisdom
|
|