On Mon, 4 Oct 2004 19:04:09 -0400 (EDT), Chris Devers <[EMAIL PROTECTED]> 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.

Thanks..  Didn't find it there but I was able to locate it in
/usr/local/lib/perl5/5.8.5/CPAN

-- 
--==[ Bob Gordon ]==--

-- 
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