You can also set the following environment variables before running the cpan shell, which will avoid all questions, whether by the cpan shell or by modules you are installing
export PERL_MM_USE_DEFAULT=1 export PERL_EXTUTILS_AUTOINSTALL="--defaultdeps" perl -MCPAN -e 'install Bundle::CPAN'
You may be interested in App::cpanminus the new zero configuration CPAN client
In reply to Re: How to not Prompt when Installing a Module
by bingos
in thread How to not Prompt when Installing a Module
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |