I know that it is easy to install a module with "strength" using CPAN from the command line. I am trying to achieve the same through a script:
use CPAN; eval "use Filesys::DiskSpace" or do { CPAN::install("Filesys::DiskSpace"); };
Is there any way to add the "force" parameter to the code? When compiling a module, the following error occurs:
make test had returned bad status, won't install without force
Warnings may not be serious, so I would like to continue the installation. Thanks.
source share