Johan Vromans wrote:
I'm writing this new and flashy application (some scripts, modules,
and data -- pure perl). Should I use ExtUtils::MakeMaker,
Module::Build or Module::Install?
<vorlon>Module installation is a three-edged sword</vorlon>
ExtUtils::MakeMaker is installed by core Perl going back to the depths
of history, but the API is very convoluted, so anything out of the
ordinary is difficult. If you don't have any unusual needs, this is
most likely to Just Work(TM) everywhere.
Module::Install is intended to be a better interface to creating a
Makefile, but it is still fairly new and (IMHO) a little rough around
the edges (especially the POD). It has the big advantage of not
requiring the _user_ to install anything else (since the M::I files are
included in the distro).
Module::Build is more mature than M::I, but more designed for reuse than
EU::MM. It does require that the user install M::B before they can
install your module, but recent Bundle::CPANPLUS and Bundle::CPAN both
install M::B first. M::B has been added to bleadperl (with some degree
of success) and is intended to be core in v5.10.0.
I'm using Module::Build going forward for all of my modules, because I
find I can do more intelligent installers. YMMV.
HTH
John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
|