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