You have to make your tied %ENV update the underlying %ENV which invokes the "magic" which calls putenv which updates the "real" environment of your process (which is what will be copied to the children).
I don't see any use for appending '---BWUBUBWU' to the end of each environment value so I'll assume this is just a silly example. If you want to tell us what you are really trying to do, then someone will likely show you how to write code that actually does that.
- tyeIn reply to Re: How is %ENV copied by child processes ? (untie)
by tye
in thread How is %ENV copied by child processes ?
by Pardus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |