blib/lib/ExtUtils/MakeMaker/Config.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
import
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package ExtUtils::MakeMaker::Config;
2  
3 use strict;
4  
5 our $VERSION = '7.13_01';
6 $VERSION = eval $VERSION;
7  
8 use Config ();
9  
10 # Give us an overridable config.
11 our %Config = %Config::Config;
12  
13 sub import {
14 my $caller = caller;
15  
16 no strict 'refs'; ## no critic
17 *{$caller.'::Config'} = \%Config;
18 }
19  
20 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