- Milleruse strict; my $url = 'http://www.google.com/finance/historical?q=NASDAQ:FFIV&outp +ut=csv'; my $file = 'data.csv'; use LWP::Simple; my $content = get($url); die "Couldn't get it!" unless defined $content; open my $fh, '>', $file or die "Can't open file $file: $!"; print $fh $content; close $fh;
In reply to Re: Downloading a auto-generated file.
by wind
in thread Downloading a auto-generated file.
by Matthew.S
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |