coppit has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Monks!
I'm trying to figure out this failure from cpantesters.org: http://www.cpantesters.org/cpan/report/2cb2c1d6-819f-11e8-bf8d-c559fbf5efc5
Can't locate File/Slurp.pm in @INC (you may need to install the File::Slurp module)
But my Makefile.PL (based on Module::Install) says:
test_requires( 'Test::Compile' => 0, 'File::Slurp' => 0, 'Test::More' => 0, 'File::Find' => 0, 'File::Spec::Functions' => 0, 'Cwd' => 0, );
According to the documentation, test_requires is currently an alias for build_requires. Sure enough, in my META.yml I see:
build_requires: Cwd: 0 ExtUtils::MakeMaker: 6.36 File::Find: 0 File::Slurp: 0 File::Spec::Functions: 0 Test::Compile: 0 Test::More: 0 UNIVERSAL::require: 0
Does anyone know why CPAN testers seems to be ignoring this requirement? Should I specify an explicit version number?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN testers and META.yml
by tinita (Parson) on Jul 08, 2018 at 21:35 UTC | |
by tobyink (Canon) on Jul 09, 2018 at 08:59 UTC | |
|
Re: CPAN testers and META.yml
by tobyink (Canon) on Jul 08, 2018 at 16:11 UTC |