X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCGI%2FCookie.pm;h=0b915f0aad406eab0e84cc6c1e8a8d9b4b03671e;hb=7dc108d184319beaec63e84f17c3ede08e5e7abc;hp=164b5ecbad9215656d7593b3a66bfe708007627d;hpb=14b1a0c4873dd26867581787ac2b4ee054e3b2a1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/CGI/Cookie.pm b/lib/CGI/Cookie.pm index 164b5ec..0b915f0 100644 --- a/lib/CGI/Cookie.pm +++ b/lib/CGI/Cookie.pm @@ -13,7 +13,7 @@ package CGI::Cookie; # wish, but if you redistribute a modified version, please attach a note # listing the modifications you have made. -$CGI::Cookie::VERSION='1.25'; +$CGI::Cookie::VERSION='1.26'; use CGI::Util qw(rearrange unescape escape); use overload '""' => \&as_string, @@ -23,7 +23,7 @@ use overload '""' => \&as_string, # Turn on special checking for Doug MacEachern's modperl my $MOD_PERL = 0; if (exists $ENV{MOD_PERL}) { - if ($ENV{MOD_PERL_API_VERSION} == 2) { + if (exists $ENV{MOD_PERL_API_VERSION} && $ENV{MOD_PERL_API_VERSION} == 2) { $MOD_PERL = 2; require Apache2::RequestUtil; require APR::Table;