Inugroho has asked for the wisdom of the Perl Monks concerning the following question:
However, I tried to use this same code for another https, but this site won't let me in because $mech->content still outputs the login page. Would you please kindly advise me what might go wrong? Thank you.use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get('https://www.paypal.com/us'); $mech->submit_form( form_number => 1, fields => { login_email => 'sss', login_password => 'sss', } ); die unless ($mech->success); print $mech->content();
Retitled by g0n from 'www::mechanize'.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Validating using WWW::Mechanize
by monarch (Priest) on Aug 03, 2005 at 00:51 UTC | |
|
Re: Validating using WWW::Mechanize
by gube (Parson) on Aug 03, 2005 at 01:17 UTC | |
by Inugroho (Novice) on Aug 04, 2005 at 17:12 UTC |