How to AUTOMATICALLY configure CPAN?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am trying to create a fully scripted (inside a makefile) install of

Most of the things work, except that CPAN insists on configuring
itself and gets into an infinite loop of saying inanities like "you
did not allow me to connect to internet, so I will not connect to

   As you did not allow me to connect to the internet you need to supply
   a valid CPAN URL now.

   Please enter the URL of your CPAN mirror  
   CPAN needs access to at least one CPAN mirror.

I thought that I could just put CPAN/ in the right place, but
apparently, it is not working.

So... How can I auto-configure CPAN without the need to type stuff on
keyboard every time perl is auto-installed?



Re: How to AUTOMATICALLY configure CPAN?

I learned that if I copy my version of CPAN/ to
~/.cpan/CPAN/ prior to invoking cpan, everything seems to
work well.


Quoted text here. Click to load it


Site Timeline