go ahead... be a heretic | |
PerlMonks |
Re: Env Variable value not persistentby virtualsue (Vicar) |
on Dec 15, 2006 at 11:17 UTC ( [id://590014]=note: print w/replies, xml ) | Need Help?? |
You can achieve what you want by setting $ORACLE_HOME in your login shell. You do this by putting it in .cshrc or .login in your home directory. If you change the value of an environment variable in a subprocess (e.g. your program), then it will not and indeed should not be reflected in the parent process (the shell, in this case). If you use google or Super Search you will find numerous discussions of this topic.
In Section
Seekers of Perl Wisdom
|
|