Skip to content

Commit 06b7216

Browse files
committed
minimum 5.6
1 parent 7eb23fb commit 06b7216

File tree

4 files changed

+4
-112
lines changed

4 files changed

+4
-112
lines changed

Diff for: Changes

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
- test improvements removing race conditions
2+
- minimum Perl 5.6
23

34
1.50 2020-07-22
45
* (ms) Fix for slow unlinking on Windows test - thanks @zhiyuan-lin

Diff for: MANIFEST

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.licensizer.yml
22
Changes
3-
eg/5005it.pl
43
eg/benchmarks/Makefile
54
eg/benchmarks/simple
65
eg/color

Diff for: Makefile.PL

+3-27
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
11
use ExtUtils::MakeMaker;
2-
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
3-
# the contents of the Makefile that is written.
4-
5-
# That's the minimum.
6-
use 5.00503;
7-
8-
# If we're not 5.6.0, there's some corrections we need to make: Use
9-
# 'use vars' instead of 'our' variables, get rid of 'use warnings'
10-
# and other stuff. The eg/5005it.pl script takes care of it.
11-
if($] < 5.006) {
12-
require "eg/5005it.pl";
13-
14-
print <<EOT;
15-
########################################################
16-
# Hm, you're still using perl 5.005. Although I don't #
17-
# condone that, I'll let it slip this time: #
18-
# Changing distribution to be backwards compatible ... #
19-
EOT
20-
mk5005("t", "lib");
21-
print <<EOT;
22-
# Done. But do me a favour and upgrade soon. #
23-
########################################################
24-
EOT
25-
}
262

273
# Check for Time::HiRes;
284
eval { require Time::HiRes; };
@@ -47,9 +23,9 @@ WriteMakefile(
4723
File::Spec => 0.82,
4824
File::Path => 2.06_06,
4925
}, # e.g., Module::Name => 1.1
50-
($] >= 5.005 ? ## Add these new keywords supported since 5.005
51-
(ABSTRACT_FROM => 'lib/Log/Log4perl.pm', # retrieve abstract from module
52-
AUTHOR => 'Mike Schilli <[email protected]>') : ()),
26+
ABSTRACT_FROM => 'lib/Log/Log4perl.pm', # retrieve abstract from module
27+
AUTHOR => 'Mike Schilli <[email protected]>',
28+
MIN_PERL_VERSION => '5.006',
5329
'clean' => {FILES => "*.tar.gz *.ppd pod2htm*"},
5430
EXE_FILES => ["eg/l4p-tmpl"],
5531
$ExtUtils::MakeMaker::VERSION >= 6.50 ? (%$meta_merge) : (),

Diff for: eg/5005it.pl

-84
This file was deleted.

0 commit comments

Comments
 (0)