Subject: | doc should say to add Module::Build::Prereq in CONFIGURE_REQUIRES |
The documentation says this:
use Module::Build::Prereq;
WriteMakefile(...);
This means that Module::Build::Prereq must be installed when the user of the distribution will run Makefile.PL. To tell this to the CPAN client (or any other tool that will read META.yml/json before running Makefile.PL), the documentation should tell that Module::Build::Prereq is a CONFIGURE_REQUIRE:
use ExtUtils::MakeMaker;
use Module::Build::Prereq;
WriteMakefile(
...
CONFIGURE_REQUIRES => {
'Module::Build::Prereq' => '0.01',
},
);
--
Olivier Mengué - http://perlresume.org/DOLMEN