Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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]
[Discipulus]: ovedpo15 when you can use a regex anchor, use it. good morning btw
[ovedpo15]: good morning and thx. I forget to mention another thing: what if I need to check that my string is "hey" and ",0" for example "hey_how,0" is good. can I check it with one regex?
[ovedpo15]: I don't know what is between "hey" and ",0"

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2018-03-20 07:52 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (248 votes). Check out past polls.