Skip Menu |
 

This queue is for tickets about the CGI-SSI CPAN distribution.

Report information
The Basics
Id: 25105
Status: resolved
Worked: 10 min
Priority: 0/
Queue: CGI-SSI

People
Owner: james [...] bitperfect.com
Requestors: clee [...] genmeta.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.88
Fixed in: (no value)

Attachments


Subject: Fix warning when creating HTTP::Cookies
Download (untitled) / with headers
text/plain 285b
When creating a new HTTP::Cookies object, CGI::SSI passes in an empty hash reference, but HTTP::Cookies accepts a hash, not a hash reference. This results in the warning "Reference found where even-sized list expected". Attached is a diff file to fix this simple problem. HTH, Cliff
Subject: http-cookies-warning-fix-0.88.diff
61c61 < $self->{_cookie_jar} = $args{COOKIE_JAR} || HTTP::Cookies->new({}); --- > $self->{_cookie_jar} = $args{COOKIE_JAR} || HTTP::Cookies->new();
Download (untitled) / with headers
text/plain 391b
This is fixed in 0.90. Thanks for the help! On Fri Feb 23 15:59:56 2007, clee wrote: Show quoted text
> When creating a new HTTP::Cookies object, CGI::SSI passes in an empty > hash reference, but HTTP::Cookies accepts a hash, not a hash reference. > This results in the warning "Reference found where even-sized list > expected". > > Attached is a diff file to fix this simple problem. > > HTH, > Cliff


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.