This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use vmstrnenv() to look up PERL5LIB/PERLLIB on VMS.
authorCraig A. Berry <craigberry@mac.com>
Tue, 26 Jan 2016 02:45:39 +0000 (20:45 -0600)
committerCraig A. Berry <craigberry@mac.com>
Tue, 26 Jan 2016 03:01:25 +0000 (21:01 -0600)
commit88467a4b5c9fa5004bbec10fc6fd3821f0780821
tree1b0c1670a924ca016aea85cc2a02f1d58c9bb646
parent2364b895f557fc4e1fa854fe5757353d62d195f9
Use vmstrnenv() to look up PERL5LIB/PERLLIB on VMS.

We have, for a long time, only considered logical names when
looking for values of PERL5LIB. However, this makes us miss values
stored in the environ array (such as when happens when Perl is
invoked from bash) or as DCL symbols.

So make looking up PERL5LIB and PERLLIB use the lower level routine
that will look up values using the same search order as all other
environment handling in Perl, while still handling a list of paths
as a search list logical if that's where the value is stored.

N.B.  There is no change to the default path separator here, only
to lookup method.
perl.c