Eugen Konkov
Eugen Konkov

Reputation: 25133

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

Upvotes: 7

Views: 6271

Answers (2)

Antonio
Antonio

Reputation: 37

You can install like this

cpanm -T Any::Distribution

and this provide you an install without tests

Upvotes: 1

may be thats way can helps you.

cpan -T <module>

Upvotes: 5

Related Questions