environment variables
[email protected] ("Wong, Danny H.") Fri, 13 Jun 2008 17:05:52 -0700
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <D331130DD3DA194B96EF57DA3415F50A0258A559@SAUSCUPEXCH01.corp.sa.net> |
------_=_NextPart_001_01C8CDB2.6955EE0D
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi All,
I have a script that set environment variables for 10 plus
configuration and each configuration share some environment variable and
have some different or specific environment variables for a particular
configuration. I set the env variables before calling each thread, but I
notice that the environment variable inherits the previous
configurations environment setting.
Example:
configure 1:
set 11 variables
Configure 2:
set 10 variables, all of of configure minus 1 specific variable
But configure 2 has all eleven variables.
Is there a way to delete the environment variables before setting each
configuration?
I tried
undef (%ENV)
SETENV ();
but no luck?
Also, I read that environment variables in Linux are cached? If it true,
is there a way to clear the cache without rebooting the system?
Any ideas how I can delete all the environment variables before setting
them again for the next configuration?
thanks in advance.
- - - - - Cisco =
- - - - -
This e-mail and any attachments may contain information which is confiden=
tial,
proprietary, privileged or otherwise protected by law. The information is=
solely
intended for the named addressee (or a person responsible for delivering =
it to
the addressee). If you are not the intended recipient of this message, yo=
u are
not authorized to read, print, retain, copy or disseminate this message o=
r any
part of it. If you have received this e-mail in error, please notify the =
sender
immediately by return e-mail and delete it from your computer.
------_=_NextPart_001_01C8CDB2.6955EE0D--