develooper Front page | perl.perl5.porters | Postings from October 2003 likes PERL5LIB, ignores PERLLIB?

Thread Next
Anthony Heading
October 12, 2003 22:11
Subject: likes PERL5LIB, ignores PERLLIB?
Message ID:


I've needed to delete a line from, as per the patch below.  

Why is this line here?  Its effect seems fairly clear -
set_perl5lib says:

    my $env = $ENV{PERL5LIB};
    $env = $ENV{PERLLIB} unless defined $env;

so the consequence is that the value of PERLLIB is
ignored when synthesizing PERL5LIB for running tests.

Any pointers as to the intended logic?


---        Mon Oct 13 13:56:04 2003
+++     Mon Oct 13 13:58:07 2003
@@ -4739,7 +4739,6 @@
-    local $ENV{PERL5LIB} = $ENV{PERL5LIB} || "";
     my $system = join " ", $CPAN::Config->{'make'}, "test";
     if (system($system) == 0) {

This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data 
and other information are not warranted as to completeness or accuracy and 
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About