From perldoc LWP::Simple:
getstore($url, $file)
Gets a document identified by a URL and stores it in the file. The
return value is the HTTP response code.
I think you'll find that much easier.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to Re: Not writing to my local file.
by Ovid
in thread Not writing to my local file.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |