Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 pondering the Monastery: (9)
As of 2014-10-21 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (95 votes), past polls