HTTP::C...Netscape(3)
πΈ NAME πΈ
okay so bestie, this is HTTP::Cookies::Netscape β the little Perl module that gives you access to Netscape cookies files. Itβs the manual page HTTP::Cookies::Netscape(3), and yes itβs iconic for exactly that. π
β¨ VERSION β¨
version 6.11 β noted, saved, slayed. π
π¦ SYNOPSIS π¦
like, hereβs the whole vibe in code, no cap:
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 );
Thatβs it. Thatβs the group chat. π«Ά
π DESCRIPTION π
This is a subclass of HTTP::Cookies that reads (and optionally writes) Netscape/Mozilla cookie files. Obsessed.
See the documentation for HTTP::Cookies. periodt. β¨
π 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. π Thatβs a real one, bestie β not me being dramatic.
At time of writing, this module seems to work fine with Mozilla Phoenix/Firebird. π₯
π SEE ALSO π
HTTP::Cookies::Microsoftβ go look, iykyk. π
π AUTHOR π
Gisle Aas <gisle@activestate.com> β author royalty. β¨
π 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.
okay thatβs the whole page, bestie. signing off with perl v5.42.0, dated 2024-03-08 πππ¦
π¦ where this page comes from
- opensuse-leap 16.0: perl-HTTP-Cookies 6.110.0-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms