The current problem with Module::Build is that it is not included in a lot of currently active perl distributions. As a result including a Build.PL creates a dependency that does not currently exist. For instance on my Win2K and Redhat 7.3 boxes:
[root@www root]# perl -v This is perl, v5.6.1 built for i386-linux [snip] [root@www root]# perl -MModule::Build Can't locate Module/Build.pm in @INC (@INC contains: /usr/lib/perl5/5. +6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i3 +86-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6. +0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linu +x /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .). BEGIN failed--compilation aborted. [root@www root]# C:\>perl -v This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 626 provided by ActiveState Tool Corp. http://www.ActiveS +tate.com [snip] C:\>perl -MModule::Build Can't locate Module/Build.pm in @INC (@INC contains: C:/Perl/lib C:/Pe +rl/site/li b .). BEGIN failed--compilation aborted. C:\>
Until Module::Build starts to appear as part of the standard distribution it is hard to justify the(albeit minimal) effort of including a Build.PL and documentation and testing for same. If I include one (and the fact you will need to download Module::Build in the README) all those people who never READIT will feel free to email complaining that Build.PL does not work..... If I leave a Makefile.PL in the distro people will use this instead of the Build.PL but if I don't....
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Module::Build article on perl.com, MakeMaker is doomed
by tachyon
in thread Module::Build article on perl.com, MakeMaker is doomed
by autarch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |