develooper Front page | perl.beginners | Postings from May 2019

Re: What are the environmental variables used by Perl?

Thread Previous | Thread Next
From:
Jeffrey Walton
Date:
May 30, 2019 13:14
Subject:
Re: What are the environmental variables used by Perl?
Message ID:
CAH8yC8=pW0Uj1EEu6--yq=JvEM4Y3fPf4YVgzFe0azCL8=Q3-A@mail.gmail.com
On Thu, May 30, 2019 at 9:06 AM Hao Wu <echowuhao@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 <noloader@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.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About