Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Saving HTTP::Cookies into Netscape format using bless/re-bless

by bliako (Monsignor)
on May 11, 2021 at 11:54 UTC ( #11132395=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use HTTP::Cookies;
    use HTTP::Cookies::Netscape;
    ...
    $cookie_jar->save("mycookies.txt");
    # and now re-bless back to original
    bless $cookie_jar => 'HTTP::Cookies';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://11132395]
Approved by Corion
Front-paged by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2021-09-20 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?