HTTP::Cookies::Wget - access to Wget cookies files
version 0.1814
use LWP; use HTTP::Cookies::Wget; $cookie_jar = HTTP::Cookies::Wget->new( file => "c:/program files/netscape/users/ZombieCharity/cookies.txt", ); my $browser = LWP::UserAgent->new; $browser->cookie_jar( $cookie_jar );
This is a subclass of HTTP::Cookies that reads (and optionally writes) Wget/Mozilla cookie files.
HTTP::Cookies
See the documentation for HTTP::Cookies.
Please note that the Wget/Mozilla cookie file format can't store all the information available in the Set-Cookie2 headers, so you will probably lose some information if you save in this format.
At time of writing, this module seems to work fine with Mozilla Phoenix/Firebird.
HTTP::Cookies::Netscape
Copyright 2002-2003 Gisle Aas
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::FetchStory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::FetchStory
CPAN shell
perl -MCPAN -e shell install WWW::FetchStory
For more information on module installation, please visit the detailed CPAN module installation guide.