summaryrefslogtreecommitdiff
path: root/lib/warnings.pm
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2002-11-03 13:20:50 +0000
committerhv <hv@crypt.org>2002-11-03 13:20:50 +0000
commit92cde64730ac68c05bd8f8990a57fb156d283457 (patch)
tree9470c09e571a17f0f47a37aee80f54600cc4dd19 /lib/warnings.pm
parenta48f8c779b973cde21f91eb6230f57994f5c9ad9 (diff)
downloadperl-92cde64730ac68c05bd8f8990a57fb156d283457.tar.gz
avoid reliance on croak() prototype
p4raw-id: //depot/perl@18078
Diffstat (limited to 'lib/warnings.pm')
-rw-r--r--lib/warnings.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/warnings.pm b/lib/warnings.pm
index 8aa77482b2..0400a17527 100644
--- a/lib/warnings.pm
+++ b/lib/warnings.pm
@@ -291,7 +291,7 @@ $All = "" ; vec($All, $Offsets{'all'}, 2) = 3 ;
sub Croaker
{
delete $Carp::CarpInternal{'warnings'};
- croak @_ ;
+ croak(@_);
}
sub bits