Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Clicking nameless buttons with WWW::Mechanize

by bobf (Monsignor)
on Mar 15, 2005 at 04:58 UTC ( #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
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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2020-05-27 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (152 votes). Check out past polls.

    Notices?