This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
101789
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
bdfoy [...] cpan.org
Requestors:
ppisar [...] redhat.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
2.05
Fixed in:
2.10



Subject: scripts/cpan-mirrors hard-codes brian's home directory
Running cpan-mirrors tool results in an error complaining on missing /Users/brian path: $ cpan-mirrors --help The file [/Users/brian/.cpan/sources/MIRRORED.BY] was not found at /opt/rh/rh-perl520/root/usr/bin/cpan-mirrors line 10. It's not good idea to put down author's names into a script for public use: #!/usr/bin/perl use strict; use warnings; use CPAN::Mirrors; use Data::Dumper; my $mirrored_by_file = '/Users/brian/.cpan/sources/MIRRORED.BY'; my $mirrors = CPAN::Mirrors->new( $mirrored_by_file );
Fixed in the repo as pull request #84 in briandfoy/mirrors_path https://github.com/andk/cpanpm/pull/84
7908228d22a249f8acb81a0ba743caf42012cfdf merge pr/84, 2.10 was the next non-trial release. Thanks!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.