in reply to Downloading a auto-generated file.
- 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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Downloading a auto-generated file.
by Matthew.S (Initiate) on Jan 30, 2011 at 19:24 UTC | |
|
Re^2: Downloading a auto-generated file.
by ww (Archbishop) on Jan 28, 2011 at 01:58 UTC | |
by GrandFather (Saint) on Jan 28, 2011 at 06:04 UTC | |
by ww (Archbishop) on Jan 28, 2011 at 13:09 UTC | |
by Anonymous Monk on Jan 28, 2011 at 14:16 UTC |