diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-10-03 15:36:55 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-10-03 15:36:55 +0000 |
commit | 0664a57d8d8db765643a0ef6294bbbd013a00df5 (patch) | |
tree | d270f79b5283f89319801930be444ac9b756b728 /lib/CGI/Util.pm | |
parent | 2db40e90730d5fd105e3f74faa4d22f352568b99 (diff) | |
download | perl-0664a57d8d8db765643a0ef6294bbbd013a00df5.tar.gz |
Upgrade to CGI.pm-3.25
p4raw-id: //depot/perl@28930
Diffstat (limited to 'lib/CGI/Util.pm')
-rw-r--r-- | lib/CGI/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CGI/Util.pm b/lib/CGI/Util.pm index 523007c5ef..b934916f78 100644 --- a/lib/CGI/Util.pm +++ b/lib/CGI/Util.pm @@ -261,7 +261,7 @@ sub expire_calc { $offset = 0; } elsif ($time=~/^\d+/) { return $time; - } elsif ($time=~/^([+-]?(?:\d+|\d*\.\d*))([mhdMy]?)/) { + } elsif ($time=~/^([+-]?(?:\d+|\d*\.\d*))([mhdMy])/) { $offset = ($mult{$2} || 1)*$1; } else { return $time; |