Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Env Variable value not persistent

by virtualsue (Vicar)
on Dec 15, 2006 at 11:17 UTC ( #590014=note: print w/replies, xml ) Need Help??

in reply to Env Variable value not persistent

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://590014]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-10-24 04:42 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.