Syntactic Confectionery Delight | |
PerlMonks |
Re: How to not Prompt when Installing a Moduleby shevek (Beadle) |
on Oct 26, 2010 at 18:45 UTC ( [id://867521]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|