This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix warning.
[perl5.git] / lib / ExtUtils / t / config.t
CommitLineData
7292dc67
RGS
1#!/usr/bin/perl -w
2
3BEGIN {
4 if( $ENV{PERL_CORE} ) {
5 chdir 't';
6 @INC = ('../lib', 'lib/');
7 }
8 else {
9 unshift @INC, 't/lib/';
10 }
11}
12
13use Test::More tests => 3;
14use Config ();
15
16BEGIN { use_ok 'ExtUtils::MakeMaker::Config'; }
17
18is $Config{path_sep}, $Config::Config{path_sep};
19
20eval {
21 $Config{wibble} = 42;
22};
23is $Config{wibble}, 42;