Module::Build::Compat drops 'perl' from the list of prerequisites when generating a Makefile.PL and/or Makefile. While EU::MM doesn't handle 'perl' well (it issues a warning about a missing prerequisite), it does still write it into the Makefile PREREQ_PM line and into the META.yml.
By dropping that 'perl' prerequisite, Module::Build::Compat will in some cases prevent CPAN.pm or other downstream tools like CPAN::Reporter from detecting and reacting to an insufficient version of Perl. I believe better behavior is to pass the prerequisite along rather than drop it. The attached patch deletes the lines that skip 'perl' when assembling prerequisites. Regards, David
Compat.patch
Description: Binary data