On 21 Nov 2007, at 22:16, Matisse Enzer wrote:
What I want is to EXCLUDE certain directories from @INC during the build process, specifically anything under /Library/Perl, especially in the sub-processes that CPAN::Shell creates when building each distribution. The desired result is that build dependencies will not be satisfied by any previously installed modules in the excluded directories.
Would it be enough to grep over the values in %INC *after* a run and detect any modules having loaded from the unwanted path?
-- Andy Armstrong, Hexten