summaryrefslogtreecommitdiff
path: root/lib/Carp/Heavy.pm
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2002-01-03 15:26:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-03 15:05:06 +0000
commitb5777b261727bad592dbbe6d1c792d2f010dd753 (patch)
treed9b65583c2503e1e881abf20665a3200293b8122 /lib/Carp/Heavy.pm
parentd5afce772893fe92cef0682fe9672d2589df7ab5 (diff)
downloadperl-b5777b261727bad592dbbe6d1c792d2f010dd753.tar.gz
obscure warning from Carp::Heavy
Message-Id: <200201031526.PAA06095@tempest.npl.co.uk> p4raw-id: //depot/perl@14040
Diffstat (limited to 'lib/Carp/Heavy.pm')
-rw-r--r--lib/Carp/Heavy.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Carp/Heavy.pm b/lib/Carp/Heavy.pm
index cf108923f4..c3d3c26fa1 100644
--- a/lib/Carp/Heavy.pm
+++ b/lib/Carp/Heavy.pm
@@ -237,6 +237,7 @@ sub trusts {
sub trusts_directly {
my $class = shift;
no strict 'refs';
+ no warnings 'once';
return @{"$class\::CARP_NOT"}
? @{"$class\::CARP_NOT"}
: @{"$class\::ISA"};