in reply to shell script via perl (clarification)
What the statement means is that if a Perl program (and this is not limited to Perl, it's an OS thing that applies to all processes) executes a shell (or some other program) using system, and said shell or program sets or modifies an environment variable, this new value is only visible from that shell or program, and any other programs it calls. It's not noticeble from the Perl program that called the shell.
In fact, it's not unlike local.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: shell script via perl (clarification)
by toronto75 (Novice) on Dec 07, 2005 at 11:18 UTC |