in reply to WWW::Mechanize click()

Iīm deprecated arround html :(!!!

I supose itīs a mistake... when I see, the correct use is "<input type=button>", itīs true on HTML 3 (1997!!). But HTML 4 use this syntax... I need to return to school or to W3Schools! ;)

This question isnīt a WWW:Mechanize problem... Itīs a occurs because HTML::Form design, when used package IgnoreInput to do button actions!! Can you submit a bug at cpan with more samples!!!
I currently donīt need to use WWW::Mechanize, and donīt has samples to make a good question to autor!)

On time... HTML::Form is a package from libwww-perl.
To post but you need to use RT at CPAN with good data for autorīs work...

For solve your problems before wait eval and possible correct on HTML::Form try it:

my $mech = WWW::Mechanize->new( autocheck => 1 ); #-- Redefine package to do button tasks (using same of submit) $HTML::Form::type2class{button} = "SubmitInput"; $mech->get( "...your url..." ); $mech->click('button_name'); print $mech->content;
Update: I supose your button input has the same action with submit, but other name... Monarchīs node has more simple and solve your problem!

--
Marco Antonio
Rio-PM