Re: request for comments on code for ExtUtils::MY overrides

[email protected] (David Christensen) Tue, 30 Nov 2010 16:42:58 -0800
Newsgroups perl.makemaker
Message-ID <[email protected]>
makemaker:


I reworked Dpchrist::ExtUtils::MakeMaker and Dpchrist::Test to better 
fit the ExtUtils::MY override scheme (as best as I can figure it out):

SYNOPSIS

     # Makefile.PL

     package Dpchrist::ExtUtils::MakeMaker;      # for symbols

     use ExtUtils::MakeMaker;

     eval {
         require Dpchrist::ExtUtils::MakeMaker;
         import  Dpchrist::ExtUtils::MakeMaker (
             postamble => sub {
                 my ($o, $prev) = @_;
                 return join('',
                     $prev,
                     mcpani(  $o, $ENV{CPAN_AUTHORID}),
                     pod2html($o, 'lib/Dpchrist/ExtUtils/MakeMaker.pm'),
                     readme(  $o, 'lib/Dpchrist/ExtUtils/MakeMaker.pm'),
                     release( $o, $ENV{RELEASE_ROOT}),
                 );
             },
         );
     };
     warn $@ if $@;

     WriteMakefile(
         # ...
     );


New tarballs are here:

     http://holgerdanske.com/node/485


I would welcome any comments.


TIA,

David