in reply to Using Mechanize With Odd Query String
Your form key/value pairs need to be specified as Content:
The documentation for ->post mentions $field_name which may be confused as being a form key name. The $field_name => $value pairs actually get pushed onto the Header instead of the Content.
$browser->post("$BASEURL?use-a", { 'target' => '195' } ); # now a hash +ref
The documentation for ->post mentions $field_name which may be confused as being a form key name. The $field_name => $value pairs actually get pushed onto the Header instead of the Content.
In Section
Seekers of Perl Wisdom