in reply to Not writing to my local file.
I tried these on the command line and they worked:use LWP::Simple; my $url = 'http://website'; my $file = 'cony.html'; getstore($url, $file);
perl -MLWP::Simple -e "print getstore(\"http://localhost/ \",\"x.html\")"
perl -MLWP::Simple -e 'print getstore("http://localhost/","x.html")'
note: this is from the POD docs for LWP::Simple.
--
hiseldl
|
|---|