Subject: | Fix warning when creating HTTP::Cookies |
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();