lib/ExtUtils/MakeMaker/Config.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
import
1.0
CRAP 1.0
« lib/ExtUtils/Liblist.pm ↑ Summary lib/ExtUtils/testlib.pm »
1 package ExtUtils::MakeMaker::Config;
2  
3 53 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 53 our $VERSION = '7.13_01';
6 53 $VERSION = eval $VERSION;
7  
8 53 ▶use Config ();
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 # Give us an overridable config.
11 53 our %Config = %Config::Config;
12  
13 sub import {
14 267 ▶ my $caller = caller;
Subroutine import: called CC=1 SCAR=0.0
15  
16 53 ▶ no strict 'refs'; ## no critic
Subroutine BEGIN: called CC=1 SCAR=0.0
17 267 *{$caller.'::Config'} = \%Config;
18 }
19  
20 53 1;
21  
22  
23 =head1 NAME
24  
25 ExtUtils::MakeMaker::Config - Wrapper around Config.pm
26  
27  
28 =head1 SYNOPSIS
29  
30 use ExtUtils::MakeMaker::Config;
31 print $Config{installbin}; # or whatever
32  
33  
34 =head1 DESCRIPTION
35  
36 B<FOR INTERNAL USE ONLY>
37  
38 A very thin wrapper around Config.pm so MakeMaker is easier to test.
39  
40 =cut
« lib/ExtUtils/Liblist.pm ↑ Summary lib/ExtUtils/testlib.pm »