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 version 6.04
10
12 use LWP;
13 use HTTP::Cookies::Netscape;
14 $cookie_jar = HTTP::Cookies::Netscape->new(
15 file => "c:/program files/netscape/users/ZombieCharity/cookies.txt",
16 );
17 my $browser = LWP::UserAgent->new;
18 $browser->cookie_jar( $cookie_jar );
19
21 This is a subclass of "HTTP::Cookies" that reads (and optionally
22 writes) Netscape/Mozilla cookie files.
23
24 See the documentation for HTTP::Cookies.
25
27 Please note that the Netscape/Mozilla cookie file format can't store
28 all the information available in the Set-Cookie2 headers, so you will
29 probably lose some information if you save in this format.
30
31 At time of writing, this module seems to work fine with Mozilla
32 Phoenix/Firebird.
33
35 HTTP::Cookies::Microsoft
36
38 Gisle Aas <gisle@activestate.com>
39
41 This software is copyright (c) 2002-2017 by Gisle Aas.
42
43 This is free software; you can redistribute it and/or modify it under
44 the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.26.3 2017-08-03 HTTP::Cookies::Netscape(3)