# from Dave Cardwell
# on Saturday 03 July 2010 04:59:

>Please could you advise what the “preferred” build module(s) are
>nowadays, when releasing to CPAN?
>
>I don’t have any particular requirements as it’s a simple module, but
>I’m unsure which of Module::Install, Module::Build,
>ExtUtils::MakeMaker, etc. I should be using.

I prefer Module::Build, since it is a pure-perl solution and tends to do 
a good job of generating modern meta-data and generally doing the right 
thing without a lot of effort from the author.  Plus, if you need to do 
something special in your build process (which happens even with simple 
modules), it is cleanly extensible.  The argument against it is issues 
of compatibility with obsolete software (for which free upgrades are 
available.)

ExtUtils::MakeMaker will work fine for simple modules, but tends to get 
less frequent updates so your meta-data support will lag behind.

Module::Install bundles itself in your tarball, which assumes that 
nothing will ever change in a way that breaks it.

--Eric
-- 
"Everything should be made as simple as possible, but no simpler."
--Albert Einstein
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to