summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CGI.pm b/lib/CGI.pm
index ad7cd02552..a51859827a 100644
--- a/lib/CGI.pm
+++ b/lib/CGI.pm
@@ -2281,7 +2281,7 @@ sub cookie {
push(@param,'-expires'=>$expires) if $expires;
push(@param,'-secure'=>$secure) if $secure;
- return new CGI::Cookie(@param);
+ return CGI::Cookie->new(@param);
}
END_OF_FUNC