initself has asked for the wisdom of the Perl Monks concerning the following question:
I am working on an install shell script which installs Perl from source on my machine. I then need to setup CPAN but it needs to be configured. When I type 'cpan' from the command line, it prompts me to auto-configure. I select 'yes'. Is there an argument I can pass the 'cpan' command so that it will automatically auto-configure if it is not already auto-configured? Or is there another way I might automated my initial CPAN setup?
Here are my three commands:
cpan (answer yes to autoconfig) o conf prerequisites_policy follow o conf commit
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN auto-configure
by marto (Cardinal) on Oct 16, 2009 at 08:49 UTC | |
|
Re: CPAN auto-configure
by DrHyde (Prior) on Oct 16, 2009 at 09:51 UTC | |
|
Re: CPAN auto-configure
by YordanGeorgiev (Acolyte) on Apr 13, 2021 at 20:50 UTC |