in reply to How to not Prompt when Installing a Module
Bring up a CPAN shell:
perl -MCPAN -e shell
Run these two commands in the CPAN shell:
o conf prerequisites_policy follow
o conf commit
You should exit and re-start the CPAN shell, and attempt to install a module. All dependencies should be automatically confirmed.
You may still have to answer non-module install related questions-- such as connecting to the internet.
Line 1 changes your dependency policy to follow instead of ask. Line 2 persists the change to your CPAN configuration file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to not Prompt when Installing a Module
by Anonymous Monk on Oct 26, 2010 at 20:05 UTC | |
by shevek (Beadle) on Oct 26, 2010 at 23:21 UTC |