The description of %ENV in perlvar (for 5.6.1) reads:
The hash %ENV contains your current environment. Setting a value in ENV changes the environment for any child processes you subsequently fork() off.There's no mention of %ENV in the description of exec() perlfunc. It's been my experience that if you want to change the environment, you need to fork() first, then exec().
In reply to Re: exec problem
by dws
in thread exec problem
by tejnil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |