phpman > info > HTTP::Cookies::Netscape

Markdown | JSON | MCP    

HTTP::Cookies::NetscapUsermContributed Perl DocumeHTTP::Cookies::Netscape(3pm)

NAME
       HTTP::Cookies::Netscape - Access to Netscape cookies files

VERSION
       version 6.10

SYNOPSIS
        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 );

DESCRIPTION
       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.

SEE ALSO
       HTTP::Cookies::Microsoft

AUTHOR
       Gisle Aas <gisle AT activestate.com>

COPYRIGHT AND LICENSE
       This software is copyright (c) 2002 by Gisle Aas.

       This is free software; you can redistribute it and/or modify it under
       the same terms as the Perl 5 programming language system itself.

perl v5.32.0                      2021-01-06      HTTP::Cookies::Netscape(3pm)

Generated by phpman v4.0 Author: Che Dong Under GNU General Public License
2026-06-15 23:05 @216.73.217.83
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!