Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't follow symlinks when indexing the CPAN

distros. CPAN::DistnameInfo, which used by Parse::CPAN::Packages,
can't handle old-style paths (authors/id/DMR). Those are all just
symlinks to the modern style (authors/id/D/DM/DMR) anyway.
  • Loading branch information...
commit d5079141dc9223ccf92d74cbc65046ffc8688439 1 parent 6274dab
@autarch autarch authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tmp/index.pl
View
2  tmp/index.pl
@@ -64,7 +64,7 @@
sub scan_releases
{
- my $file_it = File::Next::files( $cpan_base->subdir( qw( authors id ) ) );
+ my $file_it = File::Next::files( { follow_symlinks => 0 }, $cpan_base->subdir( qw( authors id ) ) );
print "Scanning Files...\n";
my $count = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.