On Wed, Oct 17, 2001 at 04:04:13AM -0400, Michael G Schwern wrote:
> I spent a few hours synching up Test::Simple pretty much by hand. A
> simple recursive diff won't produce a useful patch since there's some
> things in the core version that aren't in the CPAN version. The most
> prevalent example being the test magic:
>
> BEGIN {
> chdir 't' if -d 't';
> @INC = '../lib';
> }
>
> This patch sets the PERL_CORE environment variable when running core
> tests. This way, the CPAN version of any core module can look almost
> exactly like the core version.
>
> BEGIN {
> if( $ENV{PERL_CORE} ) {
> chdir 't' if -d 't';
> @INC = '../lib';
> }
> }
>
> This will make my life much, much, much easier.
Thanks, applied. If this $ENV{PERL_CORE} scheme works we can ask the
other dual life citizens to do the same. Will make the pumpkin's life
much, much, much easier.
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen