in reply to Re: My Mechanize script cannot work ?
in thread My Mechanize script cannot work ?
So any comments ?use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get("http://www.thesite.com/members/login.asp"); my $content = $mech->content(); $mech->form_number(1); $form = $mech->current_form(); $mech->field('username', 'username'); $mech->field('password', 'pass123'); print $form->dump(); $result = $mech->submit();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: My Mechanize script cannot work ?
by zengargoyle (Deacon) on Aug 08, 2003 at 06:33 UTC | |
|
Re: Re: Re: My Mechanize script cannot work ?
by Corion (Patriarch) on Aug 08, 2003 at 06:36 UTC |