in reply to environment variable
Setting it in the current processes' environment should be enough, since any subprocesses inherit their parent's environment.
Although system() does, in fact open a new shell, that shell should inherit your perl script's environment like any other child process (and pass it on to its children).
Update: reasons why this may not be working:
dmm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: environment variable
by mpeppler (Vicar) on Dec 28, 2001 at 03:03 UTC | |
by dmmiller2k (Chaplain) on Dec 28, 2001 at 03:18 UTC |