Please Stop (Was: environment variables in perl)

2011-07-18 Thread Shawn H Corey
Could someone please remove lel...@claimspages.com from the mailing list so I won't get any more of these annoying messages? Original Message Subject: Re: Re: environment variables in perl Date: Mon, 18 Jul 2011 09:31:05 -0400 From: RightFax E-mail Gateway To: sha

Re: environment variables in perl

2011-07-18 Thread Shawn H Corey
On 11-07-18 09:24 AM, Christian Walde wrote: On Mon, 18 Jul 2011 13:44:39 +0200, Shawn H Corey wrote: In Windows, there is only one environment. That means if a child process changes it, its parent can access the change. In Linux, each process has its own environment. The child process inheri

Re: environment variables in perl

2011-07-18 Thread Christian Walde
On Mon, 18 Jul 2011 13:44:39 +0200, Shawn H Corey wrote: In Windows, there is only one environment. That means if a child process changes it, its parent can access the change. In Linux, each process has its own environment. The child process inherits its parent's at the time of the fork and

Re: environment variables in perl

2011-07-18 Thread Shawn H Corey
On 11-07-18 07:29 AM, Irfan Sayed wrote: if i do in perl like this : print "Environment is : $ENV{'build'}\n"; then it does not pint anything can someone please suggest ?? In Windows, there is only one environment. That means if a child process changes it, its parent can access the change.

environment variables in perl

2011-07-18 Thread Irfan Sayed
hi, i am executing one shell script within perl script. now what i need is , i need to make available all the variables set by that shell script to perl script for example following is the shell script build="abc" export build echo $build now the value of $build i need to access in perl script

environment variables in perl

2011-07-18 Thread Irfan Sayed
hi, i am executing one shell script within perl script. now what i need is , i need to make available all the variables set by that shell script to perl script for example following is the shell script build="abc" export build echo $build now the value of $build i need to access in perl script

RE: setting the environment variables in perl

2004-07-27 Thread perl.org
On Tue, 27 Jul 2004 11:58:51 -0400, Bob Showalter wrote > > It's really not a Perl issue per se. I assume you're talking about variables > used by Oracle libraries, like ORACLE_HOME and ORACLE_SID. > > I advise you to *not* attempt to set or monkey with these variables inside > the Perl script. T

RE: setting the environment variables in perl

2004-07-27 Thread u235sentinel
Good point in fact Oracle (for example) recommends setting the environment before you even install Oracle. To do it any other way invites trouble and as Oracle would say, you're on your own :-) > jason corbett wrote: > > How does one go about assuring that the environment variables are > > pro

RE: setting the environment variables in perl

2004-07-27 Thread Bob Showalter
jason corbett wrote: > How does one go about assuring that the environment variables are > properly set in perl? I read several books, but none go in depth > about how to write a script that includes all the required variables, > that way nothing gets left out. It's really not a Perl issue per se.

Re: setting the environment variables in perl

2004-07-27 Thread Flemming Greve Skovengaard
Paul Kraus wrote: You can access all the env variables like this... $ENV{ 'VAR' } example my $home = $ENV{ 'HOME' }; print "$home\n"; I have never tried to change them but I would assume that it would work. HTH, Paul Kraus On Tue, Jul 27, 2004 at 07:29:45AM -0700, jason corbett wrote: How does one

Re: setting the environment variables in perl

2004-07-27 Thread Paul Kraus
You can access all the env variables like this... $ENV{ 'VAR' } example my $home = $ENV{ 'HOME' }; print "$home\n"; I have never tried to change them but I would assume that it would work. HTH, Paul Kraus On Tue, Jul 27, 2004 at 07:29:45AM -0700, jason corbett wrote: > How does one go about as

setting the environment variables in perl

2004-07-27 Thread jason corbett
How does one go about assuring that the environment variables are properly set in perl? I read several books, but none go in depth about how to write a script that includes all the required variables, that way nothing gets left out. Please advise. JC [snipet] #!/usr/bin/perl -w $ENV{"