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
40c2103f 1package Carp::Heavy;
ca24dfc6 2
2a420f95
Z
3use Carp ();
4
b582f7a3 5our $VERSION = '1.3301';
3b5ca523 6
bf4588d0
Z
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
3b5ca523 121;
66a4a569 13
2a420f95 14# Most of the machinery of Carp used to be here.
ba7a4549
RGS
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.
2a420f95
Z
17# This must load Carp, because some modules rely on the historical
18# behaviour of Carp::Heavy loading Carp.