Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread Andy Armstrong
On 21 Nov 2007, at 22:58, Matisse Enzer wrote: Would it be enough to grep over the values in %INC *after* a run and detect any modules having loaded from the unwanted path? Interesting idea, but no, not good enough in this case - I need the build process to build and install all the modules

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread Matisse Enzer
On Nov 21, 2007, at 2:44 PM, Michael G Schwern wrote: Matisse Enzer wrote: I am looking for a way to run a fully-automated CPAN build (using CPAN::Shell) of a local Perl module and its dependencies, but, I need to make REMOVE some directories from the compiled-in @INC during the build pro

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread Matisse Enzer
On Nov 21, 2007, at 2:20 PM, Andy Armstrong wrote: Would it be enough to grep over the values in %INC *after* a run and detect any modules having loaded from the unwanted path? Interesting idea, but no, not good enough in this case - I need the build process to build and install all the

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread David Cantrell
Michael G Schwern wrote: > Matisse Enzer wrote: >> I am looking for a way to run a fully-automated CPAN build (using >> CPAN::Shell) of a local Perl module and its dependencies, but, I need to >> make REMOVE some directories from the compiled-in @INC during the build >> process. > > While it is no

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread Michael G Schwern
Matisse Enzer wrote: > I am looking for a way to run a fully-automated CPAN build (using > CPAN::Shell) of a local Perl module and its dependencies, but, I need to > make REMOVE some directories from the compiled-in @INC during the build > process. While it is not documented, you can override what

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread Andy Armstrong
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 bu

Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread Matisse Enzer
I am looking for a way to run a fully-automated CPAN build (using CPAN::Shell) of a local Perl module and its dependencies, but, I need to make REMOVE some directories from the compiled-in @INC during the build process. The entire set of modules resulting from the build (local plus public)