logo       

Warnings in HTTP::Cookies: msg#00044

lang.perl.modules.lwp

Subject: Warnings in HTTP::Cookies

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 <ed@xxxxxxxxxxx>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise