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


In reply to Re: WWW::Mechanize click() by mda2
in thread WWW::Mechanize click() by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.