Re: Mechanize && meta="Refresh"
"Carl A. Schreiber" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
Am Donnerstag, 23. November 2006 19:12 schrieb Andy Lester:
> On Nov 23, 2006, at 3:21 AM, Carl A. Schreiber wrote:
> > How do I get beyond the that meta="Refresh" page.
> > I konw the answer of Andy Lester in the archive, that
> > "The address of the META REFRESH should be available to you in the
> > $mech->links() method."
> > Yes it is - as you can see below, but how should I use it, all what
> > I tried either
>
> Did you do a straight get() on it?
hmm ?? do you mean $mech->get(); or $r->get();
Well, after
my $r = $mech->submit_form(
fields => {
$uFld => $uNme,
$pFld => $pPwd
}
);
I did:
$mech->get();
That gives me again the login page :(
But if I did instead
$r->get();
I get:
Can't locate object method "get" via package "HTTP::Headers" at (eval
14) line 1.
Still not where I want to be.
Carl