There are two cases. One is when you click the button, the data will be posted to the same page (example.com) . Second one is when you click the button the data will be posted to different page (example.com/auth.php). First you need to get to which page it is posting and you need to pass the arguments to that page. OR
You can use the WWW::Mechanize's submit_form method to do this task simply
--Lakshmanan G.
The great pleasure in my life is doing what people say you cannot do.
|