Try the interactive version of WWW::Mechanize WWW::Mechanize::Shell and use the forms command to debug the inputs.
# example perl -MWWW::Mechanize::Shell -eshell (no url)>get http://perlmonks.org/?parent=694680;node_id=3333 Retrieving http://perlmonks.org/?parent=694680;node_id=3333(200) http://perlmonks.org/?parent=694680;node_id=3333>forms Form [1] GET http://perlmonks.org/? node= (text) <NONAME>=Search (submit) Form [2] POST http://perlmonks.org/? node_id=3333 (hidden readonly) node=Re: WWW::Mechanize form field types (text) note_doctext= (textarea) type=note (hidden readonly) note_parent_node=694680 (hidden readonly) op=preview (submit) Form [3] POST http://perlmonks.org/? [login] node_id=3333 (hidden readonly) op=login (hidden readonly) lastnode_id=3333 (hidden readonly) user= (text) passwd= (password) expires=<UNDEF> (checkbox) [*<UNDEF>/off|+10y/remembe +r me] login=Login (submit) Form [4] GET http://perlmonks.org/? node_id=3333 (hidden readonly) foo=Refresh (submit) Form [5] POST http://perlmonks.org/? displaytype=display (hidden readonly) node_id=693810 (hidden readonly) vote=0 (radio) [*0/Boss|1/Users|2/Spouse| +3/Doorman|4/Producer|5/Scientists|6/Janitors|7/Secretary|8/Window was +hers|9/Professors|10/Soda/Snack refillers|11/Human resources director +|12/Administrative assistant|13/Security guard|14/Parking attendant|1 +5/Nothing but geeks here|16/I work alone|17/I love everybody|18/What +job?] <NONAME>=Vote (submit)
Hope this helps.

print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});

In reply to Re: WWW::Mechanize form field types by codeacrobat
in thread WWW::Mechanize form field types by Lawliet

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.