1 use ExtUtils::MakeMaker;
3 push @extra, 'INSTALLDIRS' => 'perl' if $] >= 5.008009 and $] < 5.012;
8 'NAME' => 'Module::CoreList',
9 'VERSION_FROM' => 'lib/Module/CoreList.pm',
10 'ABSTRACT_FROM' => 'lib/Module/CoreList.pod',
15 'EXE_FILES' => [ _scripts() ],
23 my $scripts = 'corelist';
24 if ( $] >= 5.008009 and !$ENV{PERL_CORE} ) {
26 my $version = sprintf("%vd",$^V);
27 if ( $Config::Config{versiononly} and
28 $Config::Config{startperl} =~ /\Q$version\E$/ ) {
30 File::Copy::copy( 'corelist', "corelist$version" );
31 $scripts = "corelist$version";