|P is for Practical|
Programmatically installing modulesby morgon (Deacon)
|on Dec 23, 2013 at 10:27 UTC||Need Help??|
morgon has asked for the
wisdom of the Perl Monks concerning the following question:
I want to implement the following logic:
For installing modules I currently use CPAN->install which has the problem that if I run it with a module I already have it updates it (so I need to check first) and I don't seem to get any indication wether or not the install succeeded, so I am forced to do something like this:
Furthermore some module-installations prompt for input (e.g. "do you want to run extra-tests?" etc) that I would like to supress.
What is the proper way to do this?