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() ],
16 'INSTALLDIRS' => ($] < 5.011 ? 'perl' : 'site'),
24 my $scripts = 'corelist';
25 if ( $] >= 5.008009 and !$ENV{PERL_CORE} ) {
27 my $version = sprintf("%vd",$^V);
28 if ( $Config::Config{versiononly} and
29 $Config::Config{startperl} =~ /\Q$version\E$/ ) {
31 File::Copy::copy( 'corelist', "corelist$version" );
32 $scripts = "corelist$version";