> -----Original Message-----
> From: patrick hall [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 15, 2002 2:09 AM
> To: [EMAIL PROTECTED]
> Subject: A good place to tell CPAN to look?
> 
> 
> Hi, 
> 
> I've been trying really hard to get SOAP::Lite
> installed, and I think the problem comes down to my
> CPAN looking in a bad place for the dependencies. 
> 
> How can I "reset" the server that CPAN searches, and
> do you have any recommendations for good ones? 
> 
> I always get to that point in CPAN where it says "what
> server do you want to use?" and I think to myself,
> "Uh, Walmart?" 

Use "perl -MCPAN -e shell" to start the CPAN shell.

Then use the "o conf urllist" command to manage the list:

To show current list of servers:
   o conf urllist

To remove a server from the list:
   o conf urllist pop    <- to remove from bottom of list
   o conf urllist shift  <- to remove from top of list

To add a server to the list at the end:
   o conf urllist push ftp://blah.blah/pub/CPAN

To add a server at the front:
   o conf urllist unshift ftp://blah.blah/pub/CPAN

To save changes permanently:
   o conf commit

All this is documented in perldoc CPAN

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to