Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

RTFM: HTTP::Cookies is saving an empty file

by larryk (Friar)
on Jan 23, 2002 at 14:47 UTC ( #140867=note: print w/ replies, xml ) Need Help??


in reply to HTTP::Cookies is saving an empty file

You have to make the request and then call extract_cookies, hold on...

From the HTTP::Cookies docs

$cookie_jar->extract_cookies($response); The extract_cookies() method will look for Set-Cookie: and Set-Cookie2: headers in the *HTTP::Response* object passed as argument. Any of these headers that are found are used to update t +he state of the $cookie_jar.
Hope this helps,
   larryk                                          
perl -le "s,,reverse killer,e,y,rifle,lycra,,print"


Comment on RTFM: HTTP::Cookies is saving an empty file
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-12-29 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls