If you have to navigate a page containing frames, you have to navigate first to the frame page, and then use
$agent->follow();to get to the page linked from that frame.
To set the value of a text field, use $agent->field("fieldname",$value);. To submit a form with a single button, you can either use $agent->submit() or $agent->click("button_name")
BTW, take a look at the Writeup Formatting Tips to see how to format code and your text.
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
In reply to Re: Re: Re: Getting result page using WWW::Mechanize
by Corion
in thread Getting result page using WWW::Mechanize
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |