Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^10: javascript login

by Anonymous Monk
on Aug 17, 2012 at 19:45 UTC ( #988084=note: print w/replies, xml ) Need Help??


in reply to Re^9: javascript login
in thread javascript login

Or just $mech->dump_forms;

Replies are listed 'Best First'.
Re^11: javascript login
by robertw (Sexton) on Aug 18, 2012 at 23:35 UTC
    mechanize.pm gives an error because when i
    $mech->dump_forms( ["https://login.binck.nl/klanten/Login.aspx?ReturnU +rl=%2fklanten%2fdefault.aspx"] );
    Mechanize.pm:2128: Not a GLOB reference # print {$fh} $form->dump, "\n"; gives an error sub dump_forms { my $self = shift; my $fh = shift || \*STDOUT; for my $form ( $self->forms ) { print {$fh} $form->dump, "\n"; } return; }
     $mech->dump_forms( ["https://login.binck.nl/klanten/Login.aspx?ReturnUrl=%2fklanten%2fdefault.aspx"] );

      I solved the problem, I switched perl, system perl (mac) is outdated, i need to upgrade that one, now it gives me the response WWW::Mechanize=HASH(0x100970d08)->dump_forms( HTTP::Response=HASH(0x100b5b118) );

      What do I have to fill in in form number right now?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988084]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-12-04 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.