Hi All,
I have a new module that, for the moment, is distributed only with a
Build.PL fileāno Makefile.PL. That will be remedied in the next
release, but in the meantime, when I tried to install it via
CPANPLUS, it failed. Why? Because I put test requirements into
build_requires, but CPANPLUS didn't install them. It sees them, mind
you:
Checking prerequisites...
- ERROR: Test::Differences is not installed
- ERROR: Test::JSON is not installed
- ERROR: Test::Class is not installed
- ERROR: Test::XML is not installed
- ERROR: Test::Output is not installed
- ERROR: Test::File::Contents is not installed
- ERROR: Class::Trait is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the
versions
of the modules indicated above before proceeding with this installation
But is there a reason it doesn't go ahead and install them just as it
installs the requires? I mean, if it's in build_requires, it can't
expect to build (and test) the module without them.
Thanks,
David