diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-08-30 07:43:36 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-08-30 07:43:36 +0100 |
commit | 154db99c227152f27c43ccfa836a129268cdda40 (patch) | |
tree | 8ee44e7f7164179045de6b38c8420c7b9641c6ad | |
parent | 1ff5bc37303d3f603211be08e5e01dac62fcfa6c (diff) | |
download | perl-154db99c227152f27c43ccfa836a129268cdda40.tar.gz |
As well as PERL5LIB, remove PERLLIB and PERL5OPT from the environment.
Remove the (now) redundant delete $ENV{PERL5LIB} from harness - requiring TEST
gets us that delete for free.
-rwxr-xr-x | t/TEST | 2 | ||||
-rw-r--r-- | t/harness | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -61,6 +61,8 @@ $| = 1; #BEGIN { require '../lib/warnings.pm'; "warnings"->import() }; delete $ENV{PERL5LIB}; +delete $ENV{PERLLIB}; +delete $ENV{PERL5OPT}; # remove empty elements due to insertion of empty symbols via "''p1'" syntax @ARGV = grep($_,@ARGV) if $^O eq 'VMS'; @@ -8,8 +8,6 @@ BEGIN { @INC = '../lib'; # pick up only this build's lib } -delete $ENV{PERL5LIB}; - my $torture; # torture testing? use TAP::Harness 3.13; |