summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmodule-to-dist.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/module-to-dist.pl b/module-to-dist.pl
index 8783bf8..9d099d3 100755
--- a/module-to-dist.pl
+++ b/module-to-dist.pl
@@ -21,7 +21,7 @@ sub cpan_provider
my $dist = $cpanpath;
$dist =~ s{\A.+/}{}; # remove author directory
$dist =~ s{-[^-]+\z}{}; # remove version and extension
- $dist =~ s/-/::/;
+ $dist =~ s/-/::/g;
return ($dist eq 'perl' ? undef : $dist);
}