avoid reliance on croak() prototype
authorHugo van der Sanden <hv@crypt.org>
Sun, 3 Nov 2002 13:20:50 +0000 (13:20 +0000)
committerhv <hv@crypt.org>
Sun, 3 Nov 2002 13:20:50 +0000 (13:20 +0000)
p4raw-id: //depot/perl@18078

lib/warnings.pm

index 8aa7748..0400a17 100644 (file)
@@ -291,7 +291,7 @@ $All = "" ; vec($All, $Offsets{'all'}, 2) = 3 ;
 sub Croaker
 {
     delete $Carp::CarpInternal{'warnings'};
-    croak @_ ;
+    croak(@_);
 }
 
 sub bits