This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for b464e2b7c8ad
[perl5.git] / dist / Carp / lib / Carp / Heavy.pm
... / ...
CommitLineData
1package Carp::Heavy;
2
3use Carp ();
4
5our $VERSION = '1.3301';
6
7my $cv = defined($Carp::VERSION) ? $Carp::VERSION : "undef";
8if($cv ne $VERSION) {
9 die "Version mismatch between Carp $cv ($INC{q(Carp.pm)}) and Carp::Heavy $VERSION ($INC{q(Carp/Heavy.pm)}). Did you alter \@INC after Carp was loaded?\n";
10}
11
121;
13
14# Most of the machinery of Carp used to be here.
15# It has been moved in Carp.pm now, but this placeholder remains for
16# the benefit of modules that like to preload Carp::Heavy directly.
17# This must load Carp, because some modules rely on the historical
18# behaviour of Carp::Heavy loading Carp.