e733a763358a5055a9977044de272ef11aa84697
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / MakeMaker / Config.pm
1 package ExtUtils::MakeMaker::Config;
2
3 $VERSION = '6.38';
4
5 use strict;
6 use Config ();
7
8 # Give us an overridable config.
9 use vars qw(%Config);
10 %Config = %Config::Config;
11
12 sub import {
13     my $caller = caller;
14
15     no strict 'refs';
16     *{$caller.'::Config'} = \%Config;
17 }
18
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