avoid ambiguity in indirect object notation (breaks with overridden
Gurusamy Sarathy [Sat, 4 Mar 2000 03:51:05 +0000 (03:51 +0000)]
run time require)

p4raw-id: //depot/perl@5502

lib/CGI.pm

index ad7cd02..a518598 100644 (file)
@@ -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