in reply to How is %ENV copied by child processes ?
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.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How is %ENV copied by child processes ?
by Pardus (Pilgrim) on Apr 22, 2003 at 10:52 UTC |