Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 rifling through the Monastery: (4)
As of 2023-03-28 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (67 votes). Check out past polls.

    Notices?