Michael,

If I may insist, have you seen this patch? Of course, the version
numbers need to be changed. But the patch still applies nicely to
6.30_03.

Regards,
Adriano Ferreira


---------- Forwarded message ----------
From: Adriano Ferreira <[EMAIL PROTECTED]>
Date: Aug 24, 2006 5:01 PM
Subject: [IDEA] enhance EXTRA_META present in 6.30_01
To: makemaker@perl.org


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