Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by bliako (Prior)
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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2021-08-03 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (34 votes). Check out past polls.

    Notices?