[carton] 396/472: Set module name for ::Core dist

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:39:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 95f00ddf760ddf2b603b25131f166c448817c98e
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date:   Wed Aug 7 19:40:19 2013 -0700

    Set module name for ::Core dist
---
 lib/Carton/Dist/Core.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Carton/Dist/Core.pm b/lib/Carton/Dist/Core.pm
index c19957f..16e0f85 100644
--- a/lib/Carton/Dist/Core.pm
+++ b/lib/Carton/Dist/Core.pm
@@ -8,7 +8,8 @@ has module_version => (is => 'ro');
 sub BUILDARGS {
     my($class, %args) = @_;
 
-    $args{name} = "perl-$]";
+    # TODO represent dual-life
+    $args{name} =~ s/::/-/g;
 
     \%args;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git



More information about the Pkg-perl-cvs-commits mailing list