By the way, there are some modules which already do this (watch for modules not being found and install them using CPAN.pm or cpanm).
Of course, using them requires them to be installed from CPAN, but, depending on what you need, they can be of some use.
In reply to Re: Programmatically installing modules
by aitap
in thread Programmatically installing modules
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |