CPAN question <<<<<<<

CPAN question <<<<<<<

Post by UCAM.. » Fri, 05 Apr 2002 18:53:00



Hi All:
I remember first when I used CPAN to update perl modules it let me
specify a site to d/l packages from.

Now, that site no longer mirrors perl modules.
Question: how do I make it use another default site?

Thanks;
Masoud

I use RH7.1 on an standalone PC.

 
 
 

CPAN question <<<<<<<

Post by john gree » Sat, 06 Apr 2002 01:20:16



> Hi All:
> I remember first when I used CPAN to update perl modules it let me
> specify a site to d/l packages from.

> Now, that site no longer mirrors perl modules.
> Question: how do I make it use another default site?

Edit ~/.cpan/CPAN/MyConfig.pm

-j
--
J.J.Green, Dept. Applied Math. University of Sheffield, UK
http://www.arbs.demon.co.uk

 
 
 

CPAN question <<<<<<<

Post by Dave Bro » Sat, 06 Apr 2002 04:46:29




> I remember first when I used CPAN to update perl modules it let me
> specify a site to d/l packages from.

> Now, that site no longer mirrors perl modules.
> Question: how do I make it use another default site?

I don't know if I've seen this documented--('perldoc CPAN' ?)
And I'm certainly not an expert...

But when you use the CPAN module for the first time (no ~/.cpan/ exists)
it'll run a configuration module.  This results in a
~/.cpan/CPAN/MyConfig.pm, which contains your choice of CPAN mirrors.

--
Dave Brown  Austin, TX

 
 
 

CPAN question <<<<<<<

Post by Mina Nagui » Sat, 06 Apr 2002 09:22:52


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Quote:> Hi All:
> I remember first when I used CPAN to update perl modules it let me
> specify a site to d/l packages from.

> Now, that site no longer mirrors perl modules.
> Question: how do I make it use another default site?

You pick the site(s) you want to use from here:
http://www.cpan.org/SITES.html

You then, as root, launch the CPAN module:
perl -MCPAN -e shell

and use the "o conf urllist" to manipulate the list of site preferences.

Examples:

"o conf urllist" Shows the current list of sites
"o conf urllist shift" Deletes the site at the top
"o conf urllist unshift ftp://blah.com/CPAN/" adds ftp://blah.com/CPAN/ to
the top of the list

There are more options you can do. See "perldoc CPAN"

After you're done manipulating the list of sites don't forget to do "o conf
commit"

Best of luck.

-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt
Comment: MY PUB KEY: http://thecouch.homeip.net:81/MinaNaguib.txt

iQA/AwUBPKzuW3kvfaRjIn+sEQKm1QCfWYI7+9c7Xu56fSXz1zuh1yo/qaMAn2fY
Z7vC/aIerRznay3C2u/K6Fap
=hxxO
-----END PGP SIGNATURE-----

 
 
 

1. <<<<<soundconfig problem <<<<<<<

hi,
I have a PC100 m747 mainboard
with onboard SIS AGP 6326 8meg videocard
with onboard Sound 3d with sounblaster 16 and WSS support

my SIS videocard works fine
i have problems to configure the soundcard
it claims to be soundblaster compatible , but installing a
'sounblaster 16' , 'soundblaster pro' 'WSS' 'MAD16' has no effect
just "modprobe: devive is busy or not found"

--
Microsoft, just the product of a society
     that's lost it's good manners

--
Microsoft, just the product of a society
     that's lost it's good manners

--
Microsoft, just the product of a society
     that's lost it's good manners

2. virtual hosts won't work !

3. I need a example of X .twmrc file PLEASE <<<<<<<<<<<<<<<<<<<<<

4. what about adsl modems?

5. SOLARIS 2.3 NOT getting the NAMESERVER <<<<<<<<<<<<<<<<<<<<

6. Q: IBM Powerserver 320

7. CDE <<<<<<<<<-------------- Need Help !

8. How to bring up 64 bit kernel on aix 4.3.3

9. Script for makeing whole bunch of account of sol. 2.3 <<<<<<<<<<<<<<<<<

10. How can grep the 8th of Field <<<<<<<<

11. How can I trap a user in script <-<-<-<-<-<-<-<-

12. AUTO-REDIAL PPPGO <<<<<<<

13. how to change login,userid <<<==={{ Question }}===<<<