go ahead... be a heretic | |
PerlMonks |
Re: Changing parent process environment variableby ikegami (Patriarch) |
on Dec 20, 2007 at 21:17 UTC ( [id://658267]=note: print w/replies, xml ) | Need Help?? |
Have the child output the set commands instead of executing it, and process the commands in the parent.
If the parent is a Perl script:
If the parent is a batch file:
The child would output such as or
Update: Added second snippet.
In Section
Seekers of Perl Wisdom
|
|