Re: [Module-build-general] Some improvement to the pass-thru compat Makefile.PL
Status: Beta
Brought to you by:
kwilliams
From: Dave R. <au...@ur...> - 2003-02-05 17:44:07
|
On Wed, 5 Feb 2003, Autrijus Tang wrote: > > Autrijus, what exactly is this checking? Is it just that the "index" > > check returns -1 only for certain newer versions of CPAN.pm? > > Mmm? CPAN.pm is non-reentrant in general, so we cannot use it if we're > under CPAN.pm's installation already. The check is to see that our > cwd() is not under .cpan/. I'm pretty sure it is re-entrant, at least the version I'm using. To test this I just deleted my local copies of Module/Build.pm and Module/Build/Compat.pm, as well as Thesaurus.pm. I then installed Thesaurus.pm from the CPAN shell. Thesaurus.pm has a passthrough Makefile.PL, and it all worked just fine. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ |