The following patch extends EXTRA_META to accept hash refs as well it
already accepts YAML-formatted text.

This way I could write a Makefile.PL like

use 5.006;
use ExtUtils::MakeMaker;

WriteMakefile(
   NAME              => 'Foo',
   VERSION           => '42',
   EXTRA_META => {
       recommends => {
           'Test::Pod' => '1.18',
           'Test::Pod::Coverage' => '1.04',
       }
   }

);

But when you use this, YAML is required or else makemaker would croak
when creating the metafile. I think this may be fair since writing
META.yml is for developers and it is not triggered by "make ; make
test ; make install".

There is any chance for this to see the light of day? I say in the
form of 6.30_02 dist. The patch is against the CPAN code.

Best regards,
Adriano Ferreira

Attachment: eumm.diff
Description: Binary data

Reply via email to