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!
In reply to CPAN auto-configure by initself
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |