1HTTP::Cookies::NetscapeU(s3e)r Contributed Perl DocumentaHtTiToPn::Cookies::Netscape(3)
2
3
4
6 HTTP::Cookies::Netscape - access to Netscape cookies files
7
9 use LWP;
10 use HTTP::Cookies::Netscape;
11 $cookie_jar = HTTP::Cookies::Netscape->new(
12 file => "c:/program files/netscape/users/ZombieCharity/cookies.txt",
13 );
14 my $browser = LWP::UserAgent->new;
15 $browser->cookie_jar( $cookie_jar );
16
18 This is a subclass of "HTTP::Cookies" that reads (and optionally
19 writes) Netscape/Mozilla cookie files.
20
21 See the documentation for HTTP::Cookies.
22
24 Please note that the Netscape/Mozilla cookie file format can't store
25 all the information available in the Set-Cookie2 headers, so you will
26 probably lose some information if you save in this format.
27
28 At time of writing, this module seems to work fine with Mozilla
29 Phoenix/Firebird.
30
32 HTTP::Cookies::Microsoft
33
35 Copyright 2002-2003 Gisle Aas
36
37 This library is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
40
41
42perl v5.16.3 2012-02-15 HTTP::Cookies::Netscape(3)