"Fossies" - the Fresh Open Source Software Archive 
Member "perl-5.30.3/dist/Module-CoreList/Makefile.PL" (14 May 2020, 1231 Bytes) of package /linux/misc/perl-5.30.3.tar.xz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "Makefile.PL":
5.30.2_vs_5.30.3.
1 use ExtUtils::MakeMaker;
2
3 use strict;
4 use warnings;
5
6 my @extra;
7 push @extra, 'INSTALLDIRS' => 'perl' if $] >= 5.008009 and $] < 5.012;
8
9 push @extra, 'META_MERGE' => {
10 resources => {
11 repository => 'git://github.com/Perl/perl5.git',
12 bugtracker => 'https://github.com/Perl/perl5/issues',
13 homepage => "http://dev.perl.org/",
14 },
15 } unless $ExtUtils::MakeMaker::VERSION < 6.46;
16
17
18 WriteMakefile
19 (
20 'NAME' => 'Module::CoreList',
21 'VERSION_FROM' => 'lib/Module/CoreList.pm',
22 'ABSTRACT_FROM' => 'lib/Module/CoreList.pod',
23 'PREREQ_PM' => {
24 'Test::More' => '0',
25 'List::Util' => 0,
26 'version' => 0.88,
27 },
28 'EXE_FILES' => [ _scripts() ],
29 'INSTALLDIRS' => ($] < 5.011 ? 'perl' : 'site'),
30 'PL_FILES' => {},
31 LICENSE => 'perl',
32 @extra,
33 )
34 ;
35
36 sub _scripts {
37 my $scripts = 'corelist';
38 if ( $] >= 5.008009 and !$ENV{PERL_CORE} ) {
39 require Config;
40 my $version = sprintf("%vd",$^V);
41 if ( $Config::Config{versiononly} and
42 $Config::Config{startperl} =~ /\Q$version\E$/ ) {
43 require File::Copy;
44 File::Copy::copy( 'corelist', "corelist$version" );
45 $scripts = "corelist$version";
46 }
47 }
48 return $scripts;
49 }