Re: Mechanize && meta="Refresh"

Gedanken <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
On Thu, 23 Nov 2006, Carl A. Schreiber wrote:

I think i can help, but i only have this msg and Andy's (aka Big Poppa) 
messages, so i really need to ask your forgiveness to forward me the 
originial code please.

Andy can vouch for me - Im the guy who asks obvious, moronic questions to 
this list but realizes the solution the instant he hits send - Im 100 
percent accurrate!!

mfp.


 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
 

-- 
gedanken
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.