summaryrefslogtreecommitdiff
path: root/lib/CGI.pm
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-04 03:51:05 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-04 03:51:05 +0000
commit07b2059fdd2893c21ae5c908888bc15213edf4c0 (patch)
tree3a51d7abad99f33abb041a2176b357f842c3bc60 /lib/CGI.pm
parentc6018daec3919b63c8e1e8e427f3f9bf1b460bd3 (diff)
downloadperl-07b2059fdd2893c21ae5c908888bc15213edf4c0.tar.gz
avoid ambiguity in indirect object notation (breaks with overridden
run time require) p4raw-id: //depot/perl@5502
Diffstat (limited to 'lib/CGI.pm')
-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