in reply to Re: export environment variable from a perl program
in thread export environment variable from a perl program
That is, a child cannot affect its parent, only vice versa.
And only before the parent creates the new process (after the fork you can't twiddle the child's environment, although if you're going to exec something else you can have code that twiddles things post-fork / pre-exec to the desired state).</pedantic>
|
---|