in reply to Re^2: Using Mechanize to download a zip file?
in thread Using Mechanize to download a zip file?
use strict; use warnings; use LWP::UserAgent; use WWW::Mechanize; use Win32::FileOp; #use Win32::FileOp qw(ShellExecute); # ShellExecute("http://finance.yahoo.com"); my $mech = WWW::Mechanize->new(); $mech->get("http://finance.yahoo.com"); my $filename = 'c:yahoo.html'; $mech->save_content ( $filename );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Using Mechanize to download a zip file?
by PodMaster (Abbot) on May 13, 2006 at 03:13 UTC |