Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Login in to forum with Mechanizeby PerlSufi (Friar) |
on Jul 02, 2013 at 21:00 UTC ( [id://1042109]=note: print w/replies, xml ) | Need Help?? |
Hi KarlaCluft,
I would try the $mechanize->submit_form(); function. Some thing like this maybe:
If that doesn't work for you, do what runrig said. Also, I recently did a brief tutorial on WWW::Mechanize in our tutorials section if you want to take a look at that. UPDATE: With your current code, you could also try this instead of just $mech->click(); If that button is the one needed to submit the user and login and if submit_form doesn't work..
In Section
Seekers of Perl Wisdom
|
|