summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-08-07 19:40:19 -0700
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-08-07 19:40:19 -0700
commit95f00ddf760ddf2b603b25131f166c448817c98e (patch)
tree3b825fcce49aad41e08a9375032aed0b5237e7f8
parent757f5471f17fec7eba35463ca3999e3c20f4eead (diff)
downloadcarton-95f00ddf760ddf2b603b25131f166c448817c98e.tar.gz
Set module name for ::Core dist
-rw-r--r--lib/Carton/Dist/Core.pm3
1 files changed, 2 insertions, 1 deletions
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;
}