Warnings in HTTP::Cookies

Warnings in HTTP::Cookies

am 27.09.2004 20:42:56 von Ed

I have a program which generates the following warnings:

Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.3/HTTP/Cookies.pm line 88.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.3/HTTP/Cookies.pm line 136.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.3/HTTP/Cookies.pm line 142.

I have LWP 5.79 installed but Cookies.pm is the same in 5.800. The
lines mentioned, in my installation, are:

88 LWP::Debug::debug(" - checking cookie $key=$val");
136 if ($val =~ /\W/ && $version) {
142 push(@cval, "$key=$val");

It's difficult to produce a self-contained test case since this
program spends its time hitting someone else's website. I hope that
the above information will be enough to investigate the warnings, but
I can try to make a small test case if it's wanted.

--
Ed Avis

Re: Warnings in HTTP::Cookies

am 27.09.2004 22:54:57 von jjl

On Mon, 27 Sep 2004, Ed Avis wrote:
[...]
> It's difficult to produce a self-contained test case since this
> program spends its time hitting someone else's website. I hope that
[...]

Easy but helpful would be to turn on HTTP::Cookies' debugging and post the
output (censored if necessary).


John