From 29ddba3bfaa890fa4ba09cd9e59d0dd375d96279 Mon Sep 17 00:00:00 2001 From: Dave Mitchell Date: Mon, 27 Jun 2005 16:34:34 +0000 Subject: Make Carp.pm even lighter (and Carp::Heavy even heavier) Also move carp.pm pod to carp.pod p4raw-id: //depot/perl@24995 --- lib/warnings.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/warnings.pm') diff --git a/lib/warnings.pm b/lib/warnings.pm index 5fe108d83e..85ce3de747 100644 --- a/lib/warnings.pm +++ b/lib/warnings.pm @@ -295,7 +295,7 @@ $All = "" ; vec($All, $Offsets{'all'}, 2) = 3 ; sub Croaker { - require Carp; + require Carp::Heavy; # this initializes %CarpInternal delete $Carp::CarpInternal{'warnings'}; Carp::croak(@_); } -- cgit v1.2.1