How to install quietly? (perl -MCPAN -e shell; install Devel::REPL)

P

Peng Yu

I run
perl -MCPAN -e shell
cpan>install Devel::REPL

But it prompt me to answer this question many times. I'm wondering
which option I should config in ~/.cpan/Cpan/MyConfig.pm

==> Auto-install the 1 optional module(s) from CPAN? [y]
 
R

Ron Bergin

I run>perl -MCPAN -e shell

cpan>install Devel::REPL

But it prompt me to answer this question many times. I'm wondering
which option I should config in ~/.cpan/Cpan/MyConfig.pm

==> Auto-install the 1 optional module(s) from CPAN? [y]

Is this what you're looking for?

perl -MCPAN -e shell
Set up gcc environment - 3.4.5 (mingw-vista special r3)

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.


cpan> o conf prerequisites_policy follow
prerequisites_policy [follow]
Please use 'o conf commit' to make the config permanent!



cpan>

That setting will install all prereq's without prompting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top