Thanks for the quick response. I added the status_message snippet and get "OK". This works fine on my Linux machine but is giving me an empty file on Windows 7 machine. I installed Strawberry Perl 5.10.1.5 and have version LWP 5.837. I am sure it is something stupid that I am missing.
#!/usr/bin/perl use strict; use warnings; use LWP::Simple; my $rc = getstore('http://www.perlmeme.org', 'some_local_fi +le'); print status_message($rc), "\n"; getstore('http://www.perlmeme.org', 'some_local_file'); exit 0;
In reply to Re^2: LWP::Simple Empty File
by idlemind
in thread LWP::Simple Empty File
by idlemind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |