summaryrefslogtreecommitdiff
path: root/lib/warnings.pm
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2005-06-27 16:34:34 +0000
committerDave Mitchell <davem@fdisolutions.com>2005-06-27 16:34:34 +0000
commit29ddba3bfaa890fa4ba09cd9e59d0dd375d96279 (patch)
treeae568943532503a194d0143a4653c0f9658178c7 /lib/warnings.pm
parentaa0165afdda5e71e536a890f6b073619c221d9bd (diff)
downloadperl-29ddba3bfaa890fa4ba09cd9e59d0dd375d96279.tar.gz
Make Carp.pm even lighter (and Carp::Heavy even heavier)
Also move carp.pm pod to carp.pod p4raw-id: //depot/perl@24995
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 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(@_);
}