Adam Kennedy wrote: > 2009/5/6 Jonathan Yu <jonathan.i...@gmail.com>: >> The real question at hand here is: for modules that provide both a >> Makefile.PL and Build.PL, which should be preferred? More than that, >> from the perspective of CPAN authors, is it even useful to provide >> both? Now that Module::Build is a core module, maybe only a Build.PL >> should be included. > > When both Makefile.PL and Build.PL exist, you should ALWAYS run the > Module::Build installation process ( perl Build.PL; perl Build; perl > Build test; and so on...) and ignore Makefile.PL.
I concur. If you can run the Build.PL, run it. The Makefile.PL exists for compatibility only. It is not perfect, never was intended to be and never will be. It may contain only a subset of the logic in the Build.PL. It may not fully emulate a real Makefile.PL. You can consider this definitive. -- You know what the chain of command is? It's the chain I go get and beat you with 'til you understand who's in ruttin' command here. -- Jayne Cobb, "Firefly"