Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Changing parent process environment variable

by gamache (Friar)
on Dec 20, 2007 at 21:11 UTC ( #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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2023-02-01 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (3 votes). Check out past polls.

    Notices?