Home  |  Linux  | Mysql  | PHP  | XML
From:Caryl GRENIER Date:Fri Sep 17 02:30:31 2004
Subject:RE: CPAN
Hi !

One way (i use this) is to edit the Config.pm of the CPAN module. This file contain all CPAN Configuration. On an Unix OS you should do 
'find <perlInstallRep>/* -name Config.pm | grep CPAN' to find the file.

Another way should be to change these values by using CPAN::Backend. Have a look to 'perldoc CPAN' or here : http://search.cpan.org/~andk/CPAN-1.76/lib/CPAN.pm and look at Programmer's interface.

PS : if you use CPANPLUS (i advise it), it is in Beta, but works fine ! perldoc CPANPLUS::Backend for more infos.

Have fun !
Caryl GRENIER


-----Original Message-----
From: Robert [mailto:rgoud@yahoo.com]
Sent: Thu 9/16/2004 10:27 PM
To: cpan-interface@perl.org
Subject: Re: CPAN
 CPAN::Backend.

Hi list, 
How do i remove these url's and add new ones from CPAN
cpan> o conf urllist
    urllist           
        ftp://archive.progeny.com/CPAN/
        ftp://cpan-du.viaverio.com/pub/CPAN/
        ftp://cpan.calvin.edu/pub/CPAN
        ftp://cpan.cse.msu.edu/
        ftp://cpan.erlbaum.net/
        ftp://cpan.mirrors.redwire.net/pub/CPAN/
        ftp://cpan.nas.nasa.gov/pub/perl/CPAN/
        ftp://cpan.pair.com/pub/CPAN/
Type 'o conf' to view configuration edit options


Robert <rgoud@yahoo.com> wrote: Hi list, how do I re-configure CPAN?, I want to change the url's which I chose when I installed CPAN.
Thanks in advance




---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.




---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Attachment: [text/html]
Navigate in group perl.cpan.interface at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants