summaryrefslogtreecommitdiff
path: root/lib/CGI/Cookie.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-15 09:30:28 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-15 09:30:28 +0000
commit976c4ade930645f3b8c72758f0dca6062c93eb42 (patch)
tree3dc8242c88c66552a2865619327928ab419f8609 /lib/CGI/Cookie.pm
parenta7a3cfaaf49bbb73e31b47977f7340aaabd17dcb (diff)
downloadperl-976c4ade930645f3b8c72758f0dca6062c93eb42.tar.gz
Upgrade to CGI 3.07.
Add CGI's changelog p4raw-id: //depot/perl@24039
Diffstat (limited to 'lib/CGI/Cookie.pm')
-rw-r--r--lib/CGI/Cookie.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CGI/Cookie.pm b/lib/CGI/Cookie.pm
index 3afeae22dd..a900ec0d7f 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.24';
+$CGI::Cookie::VERSION='1.25';
use CGI::Util qw(rearrange unescape escape);
use overload '""' => \&as_string,
@@ -26,7 +26,7 @@ if (exists $ENV{MOD_PERL}) {
eval "require mod_perl";
if (defined $mod_perl::VERSION) {
my $float = $mod_perl::VERSION;
- $float = ~ s/^.+?([\d.]+).+$/$1/;
+ $float += 0;
if ($float >= 1.99) {
$MOD_PERL = 2;
require Apache::RequestUtil;