On Wed, Mar 24, 2021 at 10:22:12PM +0100, Leon Timmermans wrote:
> It sounds like a terrible idea. Most of all I'm not sure what problem
> that would solve.

The problem is the boilerplate sitting in every Makefile.PL to ensure it
is backwards-compatible with older EUMM versions. Not a huge problem I
grant you but certainly a bunch of repeated code like this which ideally
would be abstracted away into a single location.

        delete $MF{MIN_PERL_VERSION} if $ExtUtils::MakeMaker::VERSION < 6.48;
        delete $MF{META_MERGE}       if $ExtUtils::MakeMaker::VERSION < 6.46;
        delete $MF{LICENSE}          if $ExtUtils::MakeMaker::VERSION < 6.31;

etc.

> Writing Makefile.PL by hand is painful, that's why most people (who
> aren't experts) use tools like Dist::Zilla nowadays.

YMMV. I find writing Makefile.PL by hand to be much less painful than
using Dist::Zilla.

Pete
-- 
Openstrike - improving business through open source
https://www.openstrike.co.uk/ or call 01722 770036

Attachment: pgpgVheDljjaw.pgp
Description: PGP signature

Reply via email to