Re: Changing CPAN config before initial config?



Hi Richard,

There will be a config.pm file in the cpan module directory, you can change the url list to point it to your local mirrors.

Thank You,

-srini
RICHARD FERNANDEZ wrote:
Hi folks,

I have a lot of boxes which are behind firewalls. Fortunately, I have a
local CPAN mirror that I install modules from.
The problem is that often when I run the CPAN shell (# perl -MCPAN
-eshell) I am asked the question: "Are you ready for manual
configuration?". After I answer "yes" at some point it tries to grab the
MIRRORED.BY file from ftp.perl.org. This process takes quite a while
since it tries many things to reach the outside world. Finally it quits
and I can tell it where my CPAN mirror is.

Is there any way to configure the urllist with my mirror before doing
the manual config? I read perldoc CPAN but didn't see any way to do
this.

Thanks.

richf


.



Relevant Pages

  • Re: download all CPAN modules ?
    ... >> You can always run your own CPAN mirror... ... downloading over rsync will save you bandwidth. ... push a module update to N machines. ... Also you are saving the CPAN ...
    (comp.lang.perl.modules)
  • Re: Installing a BUNCH of modules but no Internet access!
    ... > CPAN (using the old server) and rsync it out to the new server (I've ... > born of complete desperation). ... You could probably even update your CPAN mirror ...
    (comp.lang.perl.misc)
  • Re: deleting a mirror from CPAN.pm, was Re: CPAN
    ... cdevers@pobox.com (Chris Devers) writes: ... >> Anyone know how to remove a mirror from the list that CPAN uses? ... perl -MCPAN -e shell ...
    (perl.beginners)