Skip to content
Browse files

Escape dots in project names when generating perl package names.

We already replace '-' with '_' when generating perl package names; do
the same for '.'.  This allows us to track projects named like 'perl6.org'.
  • Loading branch information...
1 parent e60908d commit 1480b5d69bdd77b168a79c8445f582334af4b188 @Infinoid committed Sep 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/local/githubparser.pm
View
2 modules/local/githubparser.pm
@@ -208,7 +208,7 @@ sub try_link {
my $parsername = $project . "log";
my $modulename = "modules::local::" . $parsername;
- $modulename =~ s/-/_/g;
+ $modulename =~ s/[-\.]/_/g;
# create project, if necessary
my $self = $objects_by_package{$modulename};

0 comments on commit 1480b5d

Please sign in to comment.
Something went wrong with that request. Please try again.