diff options
author | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2013-08-07 19:40:19 -0700 |
---|---|---|
committer | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2013-08-07 19:40:19 -0700 |
commit | 95f00ddf760ddf2b603b25131f166c448817c98e (patch) | |
tree | 3b825fcce49aad41e08a9375032aed0b5237e7f8 | |
parent | 757f5471f17fec7eba35463ca3999e3c20f4eead (diff) | |
download | carton-95f00ddf760ddf2b603b25131f166c448817c98e.tar.gz |
Set module name for ::Core dist
-rw-r--r-- | lib/Carton/Dist/Core.pm | 3 |
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; } |