Please use a more descriptive subject line.

On Mon, 4 Oct 2004, Bob Gordon wrote:

Anyone know how to remove a mirror from the list that CPAN uses? I would like to remove ftp://carroll.cac.psu.edu from the list as it keeps timing out....

Do you have a file at ~/.cpan/CPAN/MyConfig.pm ?

If so, it's a declaration like
 CPAN::Config hash

    $CPAN::Config = {
      'build_cache' => q[10],
      'build_dir' => q[/Users/Shared/.cpan/build],
      # ... several lines skipped ...
      'urllist' => [q[ftp://ftp.cise.ufl.edu/pub/mirrors/CPAN/],
        q[ftp://ftp.cpanel.net/pub/CPAN/],
        q[ftp://ftp.cs.colorado.edu/pub/perl/CPAN/],
        q[ftp://ftp.dc.aleron.net/pub/CPAN/],
        q[ftp://ftp.duke.edu/pub/perl/]],
      'wget' => q[],
    };
    1;


All you have to do is find and edit the 'urllist' declaration line.


-- Chris Devers

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to