From: Vincent Pit Date: Sun, 4 Oct 2009 08:45:47 +0000 (+0200) Subject: Build the $name from $dist X-Git-Tag: rt66996~8 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=ddd66e7992d7533a5a14b34470898cef32cf2db8;p=perl%2Fmodules%2Fre-engine-Plugin.git Build the $name from $dist --- diff --git a/Makefile.PL b/Makefile.PL index 2778745..33ca035 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,6 +3,8 @@ use ExtUtils::MakeMaker; my $dist = 're-engine-Plugin'; +(my $name = $dist) =~ s{-}{::}g; + my %PREREQ_PM = ( 'XSLoader' => 0, ); @@ -26,7 +28,7 @@ my %META = ( ); WriteMakefile( - NAME => 're::engine::Plugin', + NAME => $name, AUTHOR => 'Vincent Pit ', LICENSE => 'perl', ABSTRACT_FROM => 'Plugin.pod',