Re: problem in setting environmental variable
- From: "Mumia W." <paduille.4060.mumia.w+nospam@xxxxxxxxxxxxx>
- Date: Mon, 05 Mar 2007 11:26:50 GMT
On 03/05/2007 03:59 AM, rameshotn3@xxxxxxxxx wrote:
[...]
I am giving export command in script like
$ram=20;
system("export ram");
The variable is exported automatically when you set a key in %ENV.
$ENV{ram} = 20;
system ('echo $ram');
system command forking one more child process. So the value becomes temporary.
It will always be temporary.
How can I come out of this problem.
Any help in this regard.
There is no way to do this directly. Read "perldoc -q environment"
.
- References:
- problem in setting environmental variable
- From: rameshotn3
- problem in setting environmental variable
- Prev by Date: Re: problem in setting environmental variable
- Next by Date: Re: Question about wizard Perl programmers
- Previous by thread: Re: problem in setting environmental variable
- Next by thread: Re: problem in setting environmental variable
- Index(es):
Relevant Pages
|