[Module::Build] Re: You underestimate the problem
Status: Beta
Brought to you by:
kwilliams
From: Julian M. <ju...@me...> - 2006-04-25 16:50:12
|
Chris Dolan wrote: > On Apr 25, 2006, at 8:33 AM, demerphq wrote: > > On 4/25/06, Adam Kennedy <ad...@ph...> wrote: > > I have to say I pretty strongly agree with Adam here. A mini-language > > is a bad solution to this problem in comparison to simply generating > > the META.yml on the installation host. > > How about a 95% solution as a goal? Plan META.yml variants so that > 95% of all CPAN modules can be completely described by it. [...] The > other complicated 5% that Adam is worried about can use the flag that > indicates a dynamic config. That way, META.yml can be declared > definitive by the author for most of CPAN. [...] > > I posit that the mini-language outlined by David Golden on 2006-04-24 > is adequate for the 95% solution (or maybe even the 99% solution?) > > The problem with Yves' suggestion to generate META.yml on the > installation host, as I've said before, is that it renders META.yml > pointless. =46WIW, I agree with the 95% solution goal. Declaring the concept of stati= c=20 META.yml pointless because it doesn't cover 100% of the modules is=20 defeatistic. In fact, those other 5% of the modules should probably try=20 harder to simplify their dependencies. Sometimes it's far more robust to=20 simply always require some other module, even if under some obscure=20 circumstances you could go without it. |