ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



HTTP::Cookies::Netscape(3)           User Contributed Perl Documentation          HTTP::Cookies::Netscape(3)



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

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

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



perl v5.8.8                                      2003-10-24                       HTTP::Cookies::Netscape(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.