On Oct 2, 2006, at 2:50 PM, Andreas J. Koenig wrote:
You're right, that was a surprisingly well working hack. Makefile.PL
wrote a *comment* into the Makefile that could be parsed out again.
M::B does something similar, it writes a file called _build/prereqs
that lists all the prereqs computed at runtime by the Build.PL script.
One thing I had blindly assumed at one point, because I thought it
was
so obvious, that one ExtUtils::MakeMaker and Module::Build are both
capable of generating META.yml files, that when you run the
installers, they would just overwrite the uploaded META.yml with a
replacement "localized" for the current plaform.
I don't like it - files that are part of the tarball shouldn't be
overwritten.
I think the _build/prereqs thing fills the same need though, right?
It's also been present since ancient versions of M::B, which is a
nice advantage over anything we'd create now.
-Ken