jcdento has asked for the wisdom of the Perl Monks concerning the following question:
then when i print response content, when $agent is of LWP::Agent i am logged in, but with WWW::Mechanize I am redirected to the login screen. This is EXTREMELY frustrating since this isnt even supposed to be what I am doing for the main part of this project. any help would be greatly appreciated.$response = $agent->get($url); my $form = HTML::Form->parse($response->{_content}, $response->base()) +; $form->param("username", "---------"); $form->param("password", "---------"); $response = $agent->request($form->click);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP::UserAgent vs WWW::Mechanize
by pc88mxer (Vicar) on Jun 13, 2008 at 15:53 UTC | |
by jcdento (Novice) on Jun 13, 2008 at 16:00 UTC | |
by pc88mxer (Vicar) on Jun 13, 2008 at 16:34 UTC | |
|
Re: LWP::UserAgent vs WWW::Mechanize
by Anonymous Monk on Jun 14, 2008 at 08:16 UTC |