in reply to Re: Setting Environment variables in Perl
in thread Setting Environment variables in Perl
Hi,
It works because $ENV gives you access to your current environment and child environments. Once your foo.pl ends your FOO will be gone.
Try executing foo.sh once more after foo.pl finishes. You'll see the value of FOO being empty.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Setting Environment variables in Perl
by Random_Walk (Prior) on Sep 12, 2005 at 11:37 UTC | |
|
Re^3: Setting Environment variables in Perl
by mhacker (Sexton) on Sep 13, 2005 at 07:07 UTC |