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
In reply to Re: Not writing to my local file.
by hiseldl
in thread Not writing to my local file.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |