diff options
author | Nicolas R <atoomic@cpan.org> | 2020-05-14 11:39:47 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2020-05-14 11:40:18 +0100 |
commit | 5870341490706da03d87b20884138ff79c68fcdc (patch) | |
tree | 603f0f11b695efc4c845066b3a519c9edad0a50a | |
parent | f996a9bee86f43b2256e6fbadfa922e7055969d9 (diff) | |
download | perl-5870341490706da03d87b20884138ff79c68fcdc.tar.gz |
Add strict and warnings to some .PL files
use a convoluted incantation to be able to set
'use strict; use warnings' only for Perl > 5.6
(manually cherry picked from commit 043ae7481cd3d05b453e0830b34573b7eef2aade)
-rw-r--r-- | dist/Module-CoreList/Makefile.PL | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/Module-CoreList/Makefile.PL b/dist/Module-CoreList/Makefile.PL index 6abce52101..7eb5ab287b 100644 --- a/dist/Module-CoreList/Makefile.PL +++ b/dist/Module-CoreList/Makefile.PL @@ -1,5 +1,9 @@ use ExtUtils::MakeMaker; +use strict; +use warnings; + +my @extra; push @extra, 'INSTALLDIRS' => 'perl' if $] >= 5.008009 and $] < 5.012; push @extra, 'META_MERGE' => { |