HTTP::Cookies::Netscape(3pm)

HTTP::Cookies::Netscape3pm

Access to netscape cookies files

Usage

 use LWP;
 use HTTP::Cookies::Netscape;
 $cookie_jar = HTTP::Cookies::Netscape->new(
   file => "c:/program files/netscape/users/ZombieCharity/cookies.txt",
 );
 my $browser = LWP::UserAgent->new;
 $browser->cookie_jar( $cookie_jar );

Version

version 6.12

Overview

This is a subclass of "HTTP::Cookies" that reads (and optionally writes) Netscape/Mozilla cookie files.

See the documentation for HTTP::Cookies.

Caveats

Please note that the Netscape/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.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 9 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8–9
  7. 10
  8. 11–12
  9. 13
  10. Arch

Author

Gisle Aas <[email protected]>

From perl-http-cookies 6.12-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.