File Coverage

lib/ExtUtils/MakeMaker/Config.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1              
2             use strict;
3 54     54   118271 use warnings;
  54         114  
  54         1295  
4 54     54   1759  
  54         93  
  54         2387  
5             our $VERSION = '7.64';
6             $VERSION =~ tr/_//d;
7              
8             use Config ();
9 54     54   343  
  54         110  
  54         2441  
10             # Give us an overridable config.
11             our %Config = %Config::Config;
12              
13             my $caller = caller;
14              
15 278     278   5485 no strict 'refs'; ## no critic
16             *{$caller.'::Config'} = \%Config;
17 54     54   330 }
  54         102  
  54         3351  
18 278         561  
  278         308285  
19             1;
20              
21              
22             =head1 NAME
23              
24             ExtUtils::MakeMaker::Config - Wrapper around Config.pm
25              
26              
27             =head1 SYNOPSIS
28              
29             use ExtUtils::MakeMaker::Config;
30             print $Config{installbin}; # or whatever
31              
32              
33             =head1 DESCRIPTION
34              
35             B<FOR INTERNAL USE ONLY>
36              
37             A very thin wrapper around Config.pm so MakeMaker is easier to test.
38              
39             =cut