adjust this
use WWW::Mechanize (); my $mech = WWW::Mechanize->new(); $mech->get( $url ); # the address in your browser $mech->submit_form( form_name => 'search', # the form name in +the code fields => { query => 'pot of gold', }, # parameters button => 'Search Now' # button );
I'm AFK now, TTYL.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^10: Correct link to put in my WWW:Mechanize
by LanX
in thread Correct link to put in my WWW:Mechanize
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |