makefile cleanup
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 31 Mar 2007 00:56:44 +0000 (02:56 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 31 Mar 2007 00:56:44 +0000 (02:56 +0200)
Also drops perl <5.5 support, since PLP requires 5.6 anyway.

Makefile.PL

index 6d31f9383c7e4a7112cfb6be8cd222ee45ff090f..e452030117c0c8fbcb40fd9f4c8a7a4c47cbb981 100644 (file)
@@ -1,11 +1,15 @@
+use 5.006;
+use strict;
+
 use ExtUtils::MakeMaker;
+
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
+
 WriteMakefile(
-    'NAME'             => 'PLP',
-    'VERSION_FROM'     => 'PLP.pm', # finds $VERSION
-    'PREREQ_PM'                => { }, # e.g., Module::Name => 1.1
-    ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
-      (ABSTRACT_FROM => 'PLP.pm', # retrieve abstract from module
-       AUTHOR     => 'Mischa POSLAWSKY <perl@shiar.org>') : ()),
+       NAME          => 'PLP',
+       VERSION_FROM  => 'PLP.pm',
+       PREREQ_PM     => {},
+       ABSTRACT_FROM => 'PLP.pm',
+       AUTHOR        => 'Mischa POSLAWSKY <perl@shiar.org>',
 );