In article <[EMAIL PROTECTED]>, Matisse Enzer <[EMAIL PROTECTED]> 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. If this were my problem, I think my first attempt would be writing my own CPAN.pm script that set the environment and config just the way I wanted it. I've done this sort of thing already to put custom minicpans on CD, etc. You don't have to disturb any other settings in CPAN.pm because it's a per-session config that disappears at the end of the run. Once you set up the environment, you start up the CPAN shell programmatically and procede as normal.
