summaryrefslogtreecommitdiff
path: root/lib/CGI/Util.pm
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-10-03 15:36:55 +0000
committerSteve Peters <steve@fisharerojo.org>2006-10-03 15:36:55 +0000
commit0664a57d8d8db765643a0ef6294bbbd013a00df5 (patch)
treed270f79b5283f89319801930be444ac9b756b728 /lib/CGI/Util.pm
parent2db40e90730d5fd105e3f74faa4d22f352568b99 (diff)
downloadperl-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.pm2
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;