CC: | perl5-porters [...] perl.org |
Subject: | CGI changes cause breakage |
This sounds like an intentional change in CGI.pm 3.51:
- CGI::Cookie->new() now follows the documentation and returns undef
if the -name and -value args aren't provided. This new behavior is also
consistent with the docs and code of CGI::Simple::Cookie. (Mark Stosberg)
I think this block in OpenFrame::Cookies needs an update:
} elsif (defined($key) && defined($val)) {
## right, we have a key value pair that we need to turn
## into an OpenFrame::Cookie object
my $cookie = OpenFrame::Cookie->new();
$cookie->name( $key );
$cookie->value( [ $val ] );
## call this method again with the cookie as the parameter
$self->set( $cookie );
} else {