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

2007-11-23 Thread Matisse Enzer
On Nov 21, 2007, at 2:44 PM, Michael G Schwern wrote: While it is not documented, you can override what perl CPAN.pm uses with $CPAN::Shell. So you can write a little @INC modification module and set $CPAN::Shell = "$^X -MINC::Surgery"; I think it is actually $CPAN::Perl a

Re: Speeding up long-running test suites

2007-11-23 Thread A. Pagaltzis
* Ovid <[EMAIL PROTECTED]> [2007-11-23 18:30]: > Test::Class can speed up your your tests by ensuring that perl > and related modules are loaded only once. I was thinking about > how this could be done with normal .t files http://search.cpan.org/dist/PPerl/ ? -- *AUTOLOAD=*_;sub _{s/(.*)::(.*)/p

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

2007-11-23 Thread Matisse Enzer
I just learned about the Distroprefs feature of CPAN (since 1.8854) - this should help me simplify my build process somewhat and is a cleaner way of providing per-distro instructions to CPAN. http://search.cpan.org/~andk/CPAN-1.9205/lib/CPAN.pm#Configuration_for_individual_distributions

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

2007-11-23 Thread Matisse Enzer
On Nov 23, 2007, at 8:19 AM, brian d foy wrote: 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. If you mean writing a script that uses CPAN.pm then that is what I have done. Something like

Speeding up long-running test suites

2007-11-23 Thread Ovid
Hi all, Test::Class can speed up your your tests by ensuring that perl and related modules are loaded only once. I was thinking about how this could be done with normal .t files and a colleague mentioned some stuff that Apache::Registry does and I thought it would be interesting to see if I could

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

2007-11-23 Thread brian d foy
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 > distributi