in reply to Re^2: WWW:Mechanize click_button stream to file?
in thread WWW:Mechanize click_button stream to file?

oops. accidentally hit the 'save' key.. so combining the above with anonymous code.. you can do
my $req = $mech->click_button(name => 'begin');
$mech->request( $req, '/PATH/TO/SAVED/FILE' );
request method in W::M is an overload of LWP::UserAgent's request method.

Replies are listed 'Best First'.
Re^4: WWW:Mechanize click_button stream to file?
by Anonymous Monk on Feb 14, 2007 at 09:34 UTC
    No, click_button returns a HTTP::Response object