perlmodule

How to install perl module without testing via `Module::Build`?


I know I can skip testing while installing by via PERL_CPANM_OPT env variable and/or option to cpanm --notest

https://metacpan.org/dist/App-cpanminus/view/bin/cpanm#-n,-notest

But how do same while installing via Module::Build?

Next does not work:

PERL_CPANM_OPT=--notest ./Build installdeps


Solution

  • This way should help:

    cpan -T <module>