Re: [Module::Build] mb advice in CPAN READMEs
Status: Beta
Brought to you by:
kwilliams
|
From: David G. <da...@hy...> - 2006-02-14 01:29:47
|
Marvin Humphrey wrote: > On Feb 12, 2006, at 6:39 AM, David Golden wrote: >> First, I suggest using 'traditional' instead of 'passthrough' for your >> Makefile.PL, unless you're doing something unusual in the Build.PL >> that really demands only a Module::Build solution. You'll make life a >> lot easier for those who don't have Module::Build installed and don't >> want to (or can't) install it. > > Who's in this group? I'm now using the 'passthrough' option for one > CPAN distro (KinoSearch), and I'm about to add another > (Lingua::Stem::Snowball). Both of them are XS with a bunch of C files. > I'd like to know who I'm excluding. If you can ignore the flamewar part of it, there's a lot of discussion here: http://perlmonks.org/index.pl?node_id=458282 A lot of the it boils down to not using 'passthrough' unless you actually need to use M::B features that EU::MM doesn't/can't support via 'traditional'. From the docs for M::B::Compat on 'traditional': > You don't want to use this style if during the perl Build.PL stage you ask the user questions, or do some auto-sensing about the user's environment, or if you subclass Module::Build to do some customization, because the vanilla Makefile.PL won't do any of that. So unless you're doing those things I'd say give 'traditional' a try. If it works for you, then it's just that much easier for others. (And one less potential bug report to worry about.) Regards, David |