1package ExtUtils::MakeMaker::Config; 2 3$VERSION = '0.02'; 4 5use strict; 6use Config (); 7 8# Give us an overridable config. 9use vars qw(%Config); 10%Config = %Config::Config; 11 12sub import { 13 my $caller = caller; 14 15 no strict 'refs'; 16 *{$caller.'::Config'} = \%Config; 17} 18 191; 20 21 22=head1 NAME 23 24ExtUtils::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 35B<FOR INTERNAL USE ONLY> 36 37A very thin wrapper around Config.pm so MakeMaker is easier to test. 38 39=cut 40