Re: What are the environmental variables used by Perl?

2019-05-30 Thread Jeffrey Walton
On Thu, May 30, 2019 at 10:21 AM John SJ Anderson wrote: > > > Do you know if there is a list of environmental variables anywhere? > > > I think maybe this is what you’re looking for? > https://perldoc.pl/perlrun#ENVIRONMENT > Thanks John. perlrun - I probably would not have found it on my

Re: What are the environmental variables used by Perl?

2019-05-30 Thread Jeffrey Walton
On Thu, May 30, 2019 at 10:14 AM Andrew Solomon wrote: > > Assuming you're on a Linux box the command 'env' should tell you that. Is > that what you're looking for? No. I'm looking for a list of Perl specific environmental variables. Like the one you offered - PERL5LIB. Ideally the list would

Re: What are the environmental variables used by Perl?

2019-05-30 Thread John SJ Anderson
> > Do you know if there is a list of environmental variables anywhere? I think maybe this is what you’re looking for? https://perldoc.pl/perlrun#ENVIRONMENT

Re: What are the environmental variables used by Perl?

2019-05-30 Thread Andrew Solomon
Assuming you're on a Linux box the command 'env' should tell you that. Is that what you're looking for? On Thu, May 30, 2019 at 2:58 PM Jeffrey Walton wrote: > > > On Thu, May 30, 2019 at 9:19 AM Andrew Solomon wrote: > >> In that case I think this should do the trick: >> >> export

Re: What are the environmental variables used by Perl?

2019-05-30 Thread Jeffrey Walton
On Thu, May 30, 2019 at 9:19 AM Andrew Solomon wrote: > In that case I think this should do the trick: > > export PERL5LIB="$PWD:$PERL5LIB" > Thanks, that fixed the Perl path problem. Do you know if there is a list of environmental variables anywhere? Jeff

Re: What are the environmental variables used by Perl?

2019-05-30 Thread Andrew Solomon
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 wrote: > On Thu, May 30, 2019 at 9:06 AM Hao Wu wrote: > > > > https://perldoc.perl.org/Env.html > > Thanks Hao. > > Is there a list of the environmental variables

Re: What are the environmental variables used by Perl?

2019-05-30 Thread Jeffrey Walton
On Thu, May 30, 2019 at 9:06 AM Hao Wu 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

Re: What are the environmental variables used by Perl?

2019-05-30 Thread Hao Wu
https://perldoc.perl.org/Env.html On Thu, May 30, 2019 at 8:58 PM Jeffrey Walton wrote: > Hi Everyone, > > 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

Re: What are the environmental variables used by Perl?

2019-05-30 Thread Andrew Solomon
Hi Jeffrey, Does this code help? #!/usr/bin/env perl use strict; use warnings; use Data::Dump 'pp'; print pp(\%ENV); --- On Thu, May 30, 2019 at 1:58 PM Jeffrey Walton wrote: > Hi Everyone, > > I need to fix a self test for a C library written in Perl. I don't > know Perl so it is a

What are the environmental variables used by Perl?

2019-05-30 Thread Jeffrey Walton
Hi Everyone, 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