Skip to content

Commit

Permalink
Makefile.PL: add missing warnings prereq
Browse files Browse the repository at this point in the history
`strict` was listed, but `warnings` was missing.

In any case, this module doesn't run on any pre-2000 perl, so remove the (perl4 compatibility) `require 5;` line.
  • Loading branch information
mauke committed Jun 29, 2024
1 parent 9ad7d93 commit 4b8fd4b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# This -*- perl -*- script writes the Makefile for Pod::Simple
#
# Time-stamp: "2004-05-24 00:21:20 ADT"
#
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
#

require 5;

use strict;
use ExtUtils::MakeMaker;
Expand All @@ -32,6 +25,7 @@ my %WriteMakefileArgs = (
'integer' => 0,
'overload' => 0,
'strict' => 0,
'warnings' => 0,
},

INSTALLDIRS => $] >= 5.009003 && $] <= 5.011000 ? 'perl' : 'site',
Expand Down

0 comments on commit 4b8fd4b

Please sign in to comment.