Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by prashanttekriwal (Novice)
on Feb 06, 2012 at 05:49 UTC ( [id://952019]=note: print w/replies, xml ) Need Help??


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

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.
  • Comment on Re^2: how to bypass the user prompts asked during cpan module installations

Replies are listed 'Best First'.
Re^3: how to bypass the user prompts asked during cpan module installations
by CountZero (Bishop) on Feb 06, 2012 at 07:03 UTC
    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://952019]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found