« /usr/local/lib/perl5/5.44.0/bytes.pm
↑ Summary
/usr/local/lib/perl5/5.44.0/x86_64-linux/PerlIO/encoding.pm »
| 1 | package Carp::Heavy; | ||||||||||||||||||||
| 2 | |||||||||||||||||||||
| 3 | 7 | ▶ | use Carp (); | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | |||||||||||||||||||||
| 5 | 7 | our $VERSION = '1.54'; | |||||||||||||||||||
| 6 | 7 | $VERSION =~ tr/_//d; | |||||||||||||||||||
| 7 | |||||||||||||||||||||
| 8 | # Carp::Heavy was merged into Carp in version 1.12. Any mismatched versions | ||||||||||||||||||||
| 9 | # after this point are not significant and can be ignored. | ||||||||||||||||||||
| 10 | 7 | ▶ | if(($Carp::VERSION || 0) < 1.12) { | ||||||||||||||||||
|
Branch: 1 branch
Condition50%1/2
$Carp::VERSION || 0
MC/DC0%0/1
$Carp::VERSION || 0
$Carp::VERSION
Truth table50%1/2
A
A= $Carp::VERSION
| |||||||||||||||||||||
| 11 | 0 | ▶ | my $cv = defined($Carp::VERSION) ? $Carp::VERSION : "undef"; | ||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||
| 12 | 0 | 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"; | |||||||||||||||||||
| 13 | } | ||||||||||||||||||||
| 14 | |||||||||||||||||||||
| 15 | 7 | 1; | |||||||||||||||||||
| 16 | |||||||||||||||||||||
| 17 | # Most of the machinery of Carp used to be here. | ||||||||||||||||||||
| 18 | # It has been moved in Carp.pm now, but this placeholder remains for | ||||||||||||||||||||
| 19 | # the benefit of modules that like to preload Carp::Heavy directly. | ||||||||||||||||||||
| 20 | # This must load Carp, because some modules rely on the historical | ||||||||||||||||||||
| 21 | # behaviour of Carp::Heavy loading Carp. | ||||||||||||||||||||