With LWP 5.69 and HTTP::Cookies 1.30 I sometimes get a warning
"Use of uninitialized value in substitution (s///) at /usr/share/perl5/HTTP/Cookies.pm line 306."
It can be reproduced by a simple "GET /" on http://www.excite.com
and using a cookie_jar. The culprit is the Set-Cookie header sent back by excite:
"Set-Cookie: uu=i=213.193.180.194-1064396543121MJ;; Domain=.excite.com; Path=/; Expires=Tue, 17-Sep-2013 05:42:22 GMT."
Note the double ';'. I dont know if that syntax is valid, but a simple
workaround may be to ignore that empty "name=value" between the ';'.
I only read the code around line 306, and perhaps missed some consequences of it, but here is a very simple patch.
Christophe
Cookies-patch.pm
Description: Perl program
