Skip to content

Commit

Permalink
Do not index anything in a /Perl6/ directory
Browse files Browse the repository at this point in the history
As otherwise Perl6 namespaces can class with Perl5 ones
and cause oddities
  • Loading branch information
ranguard committed Dec 14, 2015
1 parent 4ab3bc1 commit eaaefbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/MetaCPAN/Script/Release.pm
Expand Up @@ -123,6 +123,12 @@ sub run {
log_error {"Dunno what $_ is"};
}
}

# Strip off any files in a Perl6 folder
# e.g. http://www.cpan.org/authors/id/J/JD/JDV/Perl6/
# As here we are indexing perl5 only
@files = grep { $_ !~ m{/Perl6/} } @files;

log_info { scalar @files, " archives found" } if ( @files > 1 );

# build here before we fork
Expand Down

0 comments on commit eaaefbf

Please sign in to comment.