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

Re: Changing parent process environment variable

by gamache (Friar)
on Dec 20, 2007 at 21:11 UTC ( [id://658261] : note . print w/replies, xml ) Need Help??


in reply to Changing parent process environment variable

I don't know that it is possible to change the parent shell's environment variables. Why are you trying to do this?

Perhaps another approach would be to exec a new shell with the environment you want?

Replies are listed 'Best First'.
Re^2: Changing parent process environment variable
by tcf22 (Priest) on Dec 20, 2007 at 21:14 UTC
    I'm not quite sure of the usefulness, but our IT department wants this for some sort of maintenance script. They say they have a compiled app that does it, but want to add more features than this app supports, so that is why I'm trying to do it.

    - Tom