On Thu, Dec 09, 2004 at 07:08:22AM -0500, Michael G Schwern wrote:
> On Thu, Dec 09, 2004 at 11:53:30AM +0000, Nicholas Clark wrote:

> > Maybe it should be a separate module. Given that it can build this data
> > from existing %Config::Config data it could go on CPAN and anything else
> > could have it as a prerequisite.
> 
> Except then the module needing to check for optional prerequisites would 
> need that new module as a non-optional prerequisite and which point its
> just a hell of a lot easier to do the regex dance above or just make the
> optional module non-optional.
> 
> For a separate module to be useful for the purposes of checking for other
> modules it would have to be in the core.

Bah yes. It needs to be installed already before Makefile.PL is run to
be of use to Makefile.PL. Which really means that it needed to be in the
core as of several versions ago. :-(

Got a time machine handy?

Although that doesn't rule out putting it on CPAN too. Just means that it
might not have that many uses out there.

Nicholas Clark

Reply via email to