Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to not Prompt when Installing a Module

by bingos (Vicar)
on Oct 26, 2010 at 23:16 UTC ( #867565=note: print w/replies, xml ) Need Help??


in reply to How to not Prompt when Installing a Module

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://867565]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-12-11 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.