1 use ExtUtils::MakeMaker;
7 push @extra, 'INSTALLDIRS' => 'perl' if $] >= 5.008009 and $] < 5.012;
9 push @extra, 'META_MERGE' => {
11 repository => 'https://github.com/Perl/perl5.git',
12 bugtracker => 'https://github.com/Perl/perl5/issues',
13 homepage => "http://dev.perl.org/",
15 } unless $ExtUtils::MakeMaker::VERSION < 6.46;
20 'NAME' => 'Module::CoreList',
21 'VERSION_FROM' => 'lib/Module/CoreList.pm',
22 'ABSTRACT_FROM' => 'lib/Module/CoreList.pod',
28 'EXE_FILES' => [ _scripts() ],
29 'INSTALLDIRS' => ($] < 5.011 ? 'perl' : 'site'),
37 my $scripts = 'corelist';
38 if ( $] >= 5.008009 and !$ENV{PERL_CORE} ) {
40 my $version = sprintf("%vd",$^V);
41 if ( $Config::Config{versiononly} and
42 $Config::Config{startperl} =~ /\Q$version\E$/ ) {
44 File::Copy::copy( 'corelist', "corelist$version" );
45 $scripts = "corelist$version";