]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - Makefile.PL
Add strict and warnings to Makefile.PL
[perl/modules/re-engine-Plugin.git] / Makefile.PL
index 277874532cf58c845dd5fefee341404eb91f445b..7ade66373ec9caa8ac5f0d4eea81e744d112dbc4 100644 (file)
@@ -1,8 +1,13 @@
 use 5.010;
+
+use strict;
+use warnings;
 use ExtUtils::MakeMaker;
 
 my $dist = 're-engine-Plugin';
 
+(my $name = $dist) =~ s{-}{::}g;
+
 my %PREREQ_PM = (
  'XSLoader' => 0,
 );
@@ -26,7 +31,7 @@ my %META = (
 );
 
 WriteMakefile(
-    NAME             => 're::engine::Plugin',
+    NAME             => $name,
     AUTHOR           => 'Vincent Pit <perl@profvince.com>',
     LICENSE          => 'perl',
     ABSTRACT_FROM    => 'Plugin.pod',