Re: Knowing INSTALL_BASE value

[email protected] (brian d foy)
Newsgroups perl.makemaker
Message-ID <190320081544335505%[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.