Re: Discouraging the use of HTTP::Cookies

[email protected] (Mark Gardner)
Newsgroups perl.libwww
Message-ID <[email protected]>
Another suggestion: submit PRs to port these CPAN dists to use HTTP::CookieJar[::LWP] instead of HTTP::Cookies:

https://metacpan.org/requires/distribution/HTTP-Cookies

> On Apr 17, 2016, at 9:32 AM, Tom Hukins <[email protected]> wrote:
> 
> Hi,
> 
> In November 2015 I gave a talk at London.pm about managing HTTP cookies
> in Perl.  As a consequence, I sent a documentation patch to the
> HTTP::Cookies module to discourage its use:
> https://github.com/gisle/http-cookies/pull/7
> 
> My patch includes a test script demonstrating the module's limitations:
> https://github.com/gisle/http-cookies/pull/7/commits/ae00b4ed6aedc1cce72c0e8ddf5e7e8fbba417a8
> 
> Last week at London.pm's Perl Hack Day I published a Perl::Critic
> policy to detect code that uses HTTP::Cookies:
> https://metacpan.org/release/Perl-Critic-Policy-HTTPCookies
> 
> I want to share this because it looks like my HTTP::Cookies patch won't
> get reviewed or released any time soon.  I'd like to encourage readers
> to consider using HTTP::CookieJar or HTTP::CookieJar::LWP instead.
> 
> Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.