blib/lib/perl5i.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 26 CC 2 SCAR 12.0
CC
2
Cov
0%
import
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.3
1 package perl5i;
2  
3 ######################################
4 # The real code is in perl5i::2 #
5 # Please patch that #
6 ######################################
7  
8 use strict;
9 use parent 'perl5i::latest';
10  
11 use perl5i::VERSION; our $VERSION = perl5i::VERSION->VERSION;
12  
13 my $Latest = perl5i::VERSION->latest;
14  
15 sub import {
16 if ($0 eq '-e') {
17 goto &perl5i::latest::import;
18 }
19 else {
20 require Carp::Fix::1_25;
21 Carp::Fix::1_25::croak(<<END);
22 perl5i will break compatibility in the future, you can't just "use perl5i".
23  
24 Instead, "use $Latest" which will guarantee compatibility with all
25 features supplied in that major version.
26  
27 Type "perldoc perl5i" for details in the section "Using perl5i".
28 END
29 }
30 }
31  
32 1;
33  
34 __END__