Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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.


Comment on Re: Env Variable value not persistent

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-12-20 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls