In article <[EMAIL PROTECTED]>, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> brian d foy wrote: > > If you are just processing dist to discover information, you can write > > your own WriteMakefile routine and grab the answers that way. Look > > inside Test::Prereq, for instance. I don't like having to do it that > > way, but I haven't come up with something better. > > It is not documented, but WriteMakefile() returns the MM object. It's > unlikely to go away as it's very handy for testing. I should probably just > document it. At first I was excited to learn that, but now I'm trying to figure out how I'd use that when I want to run a Makefile.PL (or 100k of them) that I don't want to edit. Maybe I could still wrap WriteMakefile and inspect the return value, but still let it do its business. Looking back to Alberto's problem, my solution probably won't work anyway.