Just another Perl shrine | |
PerlMonks |
Item Description: A replacement for ExtUtils::MakeMaker
Review Synopsis: Module::Build is the future of CPAN installs
There is much talk in the Perl world about Module::Build. Discussion surfaced originally around February 2003, when Mike Schwern published a paper of advocacy. Please refer to this thread for PM's reaction at the time.
More recently, I attended a Perl monger tech talk, at which Schwern was presenting "MakeMaker is doomed!". Prior to the talk, I was somewhat skeptical. After all, Makefile.PL works, Nearly all of CPAN uses a recognised and recognisable installation process:
I'd also heard that some prominent people in the Perl community have abandoned MakeMaker for all new modules, in favour of Module::Build. Having attended the talk, I began to see why.perl Makefile.PL make make test make install
This is indeed what Module::Build is, and it calls no modules which use XS. The steps are replaced with:
In my opinion, Build.PL should have been named Configure.PL, so as to remove completely, any confusion between the first two steps. I am raising this point with Ken Williams and others.perl Build.PL perl Build perl Build test perl Build install
I came away from Schwern's talk convinced that Module::Build is the future. Also, there is talk that it is entering the core of 5.10, which will greatly help the advocacy cause.
Module::Build uses an OO interface, and the actions that you want to do in configuration are method calls. For doing _really_ clever stuff you can subclass Module::Build.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Module::Build
by Anonymous Monk on Apr 30, 2003 at 22:18 UTC | |
by jdhedden (Deacon) on Aug 22, 2005 at 17:07 UTC | |
by anoid (Initiate) on Sep 26, 2006 at 19:23 UTC | |
by nglenn (Beadle) on Aug 20, 2012 at 17:16 UTC | |
by Anonymous Monk on Aug 21, 2012 at 07:37 UTC | |
| |
Re: Module::Build
by Anonymous Monk on Apr 30, 2003 at 22:14 UTC | |
by rinceWind (Monsignor) on Apr 30, 2003 at 23:03 UTC | |
by jdhedden (Deacon) on Aug 22, 2005 at 15:56 UTC |