In that case I think this should do the trick: export PERL5LIB="$PWD:$PERL5LIB"
On Thu, May 30, 2019 at 2:14 PM Jeffrey Walton <noloa...@gmail.com> wrote: > On Thu, May 30, 2019 at 9:06 AM Hao Wu <echowu...@gmail.com> wrote: > > > > https://perldoc.perl.org/Env.html > > Thanks Hao. > > Is there a list of the environmental variables used by Perl? > > I'm not trying to write Perl code. I am trying to setup the > environment because Perl can't find some files in a scratch directory. > > I need to get a directory on-path. So I am looking for something like: > > export PERLPATH="$PWD:$PERLPATH" > make check > ... > > That's why I want to see the environmental variables Perl uses. > > Jeff > > > On Thu, May 30, 2019 at 8:58 PM Jeffrey Walton <noloa...@gmail.com> > wrote: > >> > >> I need to fix a self test for a C library written in Perl. I don't > >> know Perl so it is a struggle. I am happy to refer to the manual, and > >> it is located at https://linux.die.net/man/1/perl (and others). It is > >> not clear to me which section of the manual covers environmental > >> variables used by Perl. > >> > >> I found this online, but it does not appear that Perl actually honors > >> PATH: https://docs.perl6.org/programs/03-environment-variables . (I > >> also found a lot of noise; like how to set and read an envar from > >> Perl). > >> > >> Which section of the manual can I find a list of environmental > >> variables used by Perl? Is there even a section that covers it? > >> > >> Or, what are the environmental variables used by Perl? > >> > >> Thanks in advance. > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > > -- Andrew Solomon Director P: +44 7931 946 062 E: and...@geekuni.com