Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 about the Monastery: (6)
As of 2015-07-05 20:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls