# perl -MCPAN -eshell
Cpan > o conf init

This will allow you to configure CPAN, one of the steps is to select FTP
sites. You can select based on geographical region and can also enter your
own.

I've never had a problem with speed and usually select multiple sites when
configuring.

... Checking validity of my statements ...

Actually appears that some of the hosts in my list are unreachable, taking
some time to get a list of hosts... It tries LWP twice, presumably passive
and non passive, then Net::FTP twice, then goes to the next host.

Not a bad idea to update your sources once in a while I guess.

C

On 3/5/04 9:08 AM, "Joseph Alotta" <[EMAIL PROTECTED]> wrote:

> It goes through all the ftp sites you have listed and tries to find
> on that will allow logins.
> 
> Does anyone know how to reset the list of ftp sites?  Which ones are
> most available?
> 
> Joe.
> 
> 
> On Mar 5, 2004, at 3:04 AM, John Delacour wrote:
> 
>> I've been meaning to ask this question for months but never got round
>> to it.
>> 
>> Why is it that when I try to use cpan for the first time after a
>> little while it takes an age for it to contact the sites and get
>> going?  I always have to go away and do something else and it might
>> take 5 minutes for cpan to sart doing anything useful.
>> 
>> Here's a typical transcript of what happens before the long wait:
>> 
>> 
>> CPAN: Storable loaded ok
>> Going to read /Users/jd/.cpan/Metadata
>>   Database was generated on Wed, 03 Mar 2004 05:50:41 GMT
>> CPAN: LWP::UserAgent loaded ok
>> Fetching with LWP:
>>   ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
>> LWP failed with code[400] message[FTP return code 000]
>> Fetching with Net::FTP:
>>   ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
>> 
>> 
>> JD
>> 
> 

Reply via email to