The LWP::Simple docs indicate that you can look at the response code:
This prints OK for me, and I get a non-empty oputput file.my $rc = getstore('http://www.perlmeme.org', 'some_local_file'); print status_message($rc), "\n";
In reply to Re: LWP::Simple Empty File
by toolic
in thread LWP::Simple Empty File
by idlemind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |