in reply to Re: WWW::Mechanize:field not submitted
in thread WWW::Mechanize:field not submitted

Version is 1.34
use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get("$mydomain/post.php"); $mech->form_number(2); $mech->field("headline","MyHeadline"); $mech->field("thecontent","MyContent"); $mech->field("categories[some_tag]","Blah"); $mech->click("publish");

Replies are listed 'Best First'.
Re^3: WWW::Mechanize:field not submitted
by Yappo (Novice) on Mar 11, 2009 at 03:39 UTC
    HTML code is too large. Line in question is:
    <input type="text" name="categories[some_tag]" class="categories form- +input-tip" size="16" value="Add Word" />