Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Stay logged in between requests with WWW::Mechanize

by oko1 (Deacon)
on Nov 15, 2008 at 13:29 UTC ( [id://723794]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Stay logged in between requests with WWW::Mechanize
in thread Stay logged in between requests with WWW::Mechanize

Starting with an empty cookie file and replacing the empty call to 'new()' with 'new(cookie_jar=>...', etc., results in

Use of uninitialized value in pattern match (m//) at /usr/share/perl5/ +HTTP/Cookies.pm line 425. /tmp/cookies does not seem to contain cookies at /usr/share/perl5/HTTP +/Cookies.pm line 426.

If I simply use 'new()', it doesn't happen.


--
"Language shapes the way we think, and determines what we can think about."
-- B. L. Whorf

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://723794]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-20 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found