Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: how to bypass the user prompts asked during cpan module installations

by CountZero (Bishop)
on Feb 03, 2012 at 14:33 UTC ( [id://951662]=note: print w/replies, xml ) Need Help??


in reply to how to bypass the user prompts asked during cpan module installations

cpanm MIME::Lite installed the module without asking any questions and without hanging.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: how to bypass the user prompts asked during cpan module installations
  • Download Code

Replies are listed 'Best First'.
Re^2: how to bypass the user prompts asked during cpan module installations
by prashanttekriwal (Novice) on Feb 06, 2012 at 05:49 UTC
    does cpanm has any perl api. something like CPAN.pm for cpan, that can be used inside Perl script. Instead of using system level tool like cpanm.
      There is no perl API for cpanm. Its only access is through its system level script. It does one thing only (installing Perm modules), but it does it well.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://951662]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found