On Thu, Apr 2, 2009 at 5:06 PM, David E. Wheeler <[email protected]> wrote: > Similar to what Eric suggested, but with traditional instead of > pass-through. But why not just use pass-through for those that *do* have > dynamic requirements?
In part through personal experience and in part through anecdote, I think pass-through is a brittle hack. In that way, it's not unlike auto-install (which I'm convinced is is the work of the Devil). Back when CPAN/CPANPLUS didn't support Module::Build as well as they do now, maybe it was useful, but I'd much rather see dynamic code just be in Build.PL with configure_requires: Module::Build in META.yml and no Makefile.PL. At least, that would be my approach when writing modules for general use (as opposed to toolchain stuff that needs to be back-compatible as far as possible.) -- David
