in reply to LWP::Simple Empty File
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: LWP::Simple Empty File
by idlemind (Initiate) on Mar 03, 2012 at 20:19 UTC | |
by Marshall (Canon) on Mar 04, 2012 at 04:34 UTC | |
by idlemind (Initiate) on Mar 04, 2012 at 17:06 UTC | |
by Marshall (Canon) on Mar 04, 2012 at 17:43 UTC | |
by idlemind (Initiate) on Mar 04, 2012 at 19:26 UTC | |
| |
by GrandFather (Saint) on Mar 03, 2012 at 21:51 UTC |