LWP::UserAgent, and by inheritance WWW::Mechanize can store the cookie jar in a file. Just use
my $agent = WWW::Mechanize->new( cookie_jar => { file => "$ENV{HOME}/. +yahoo_cookies.txt" } );
The file will be created and updated automagically, and everything should be fine.
In reply to Re: Mechanize or LWP Cookie Persistance
by Corion
in thread Mechanize or LWP Cookie Persistance
by tornadoslims
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |