Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Clicking nameless buttons with WWW::Mechanize

by bobf (Monsignor)
on Mar 15, 2005 at 04:58 UTC ( [id://439544]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <form method="POST" id="loginForm"
      action="https://www.pharmgkb.org/cas/login?
    ...
        </tr>
      </table>
    </form>
    
  2. or download this
    print Dumper( $mech_obj->current_form() );
    
  3. or download this
    use strict;
    use warnings;
    ...
    $mech_obj->form_number( 2 );
    $mech_obj->set_fields( 'username' => $username,
                           'password' => $password );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://439544]
Front-paged by monkfan
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found