Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to not Prompt when Installing a Module

by bingos (Vicar)
on Oct 26, 2010 at 23:16 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://867565]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-03-28 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found