man-pages/man3/HTTP::Cookies::Netscape.3pm.html
2021-03-31 01:06:50 +01:00

108 lines
2.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of HTTP::Cookies::Netscape</TITLE>
</HEAD><BODY>
<H1>HTTP::Cookies::Netscape</H1>
Section: User Contributed Perl Documentation (3pm)<BR>Updated: 2019-12-06<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
HTTP::Cookies::Netscape - Access to Netscape cookies files
<A NAME="lbAC">&nbsp;</A>
<H2>VERSION</H2>
version 6.08
<A NAME="lbAD">&nbsp;</A>
<H2>SYNOPSIS</H2>
<PRE>
use LWP;
use HTTP::Cookies::Netscape;
$cookie_jar = HTTP::Cookies::Netscape-&gt;new(
file =&gt; &quot;c:/program files/netscape/users/ZombieCharity/cookies.txt&quot;,
);
my $browser = LWP::UserAgent-&gt;new;
$browser-&gt;cookie_jar( $cookie_jar );
</PRE>
<A NAME="lbAE">&nbsp;</A>
<H2>DESCRIPTION</H2>
This is a subclass of <TT>&quot;HTTP::Cookies&quot;</TT> that reads (and optionally
writes) Netscape/Mozilla cookie files.
<P>
See the documentation for HTTP::Cookies.
<A NAME="lbAF">&nbsp;</A>
<H2>CAVEATS</H2>
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.
<P>
At time of writing, this module seems to work fine with Mozilla
Phoenix/Firebird.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
HTTP::Cookies::Microsoft
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Gisle Aas &lt;<A HREF="mailto:gisle@activestate.com">gisle@activestate.com</A>&gt;
<A NAME="lbAI">&nbsp;</A>
<H2>COPYRIGHT AND LICENSE</H2>
This software is copyright (c) 2002-2019 by Gisle Aas.
<P>
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">VERSION</A><DD>
<DT id="3"><A HREF="#lbAD">SYNOPSIS</A><DD>
<DT id="4"><A HREF="#lbAE">DESCRIPTION</A><DD>
<DT id="5"><A HREF="#lbAF">CAVEATS</A><DD>
<DT id="6"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="7"><A HREF="#lbAH">AUTHOR</A><DD>
<DT id="8"><A HREF="#lbAI">COPYRIGHT AND LICENSE</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:45 GMT, March 31, 2021
</BODY>
</HTML>