idlemind has asked for the wisdom of the Perl Monks concerning the following question:
Hi everyone, I am very new to Perl and having trouble doing the simplest things. I tried running the following lines and it gives me a blank file. Any ideas on what could be wrong? Thanks for your help.
#!/usr/bin/perl use strict; use warnings; use LWP::Simple; getstore('http://www.perlmeme.org', 'some_local_file'); exit 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP::Simple Empty File
by Corion (Patriarch) on Mar 03, 2012 at 18:29 UTC | |
|
Re: LWP::Simple Empty File
by toolic (Bishop) on Mar 03, 2012 at 18:36 UTC | |
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 GrandFather (Saint) on Mar 03, 2012 at 21:51 UTC |