{ local %ENV{NAME_OF_VARIABLE}="new-value"; #do whatever you want with the new environment in here }
you should make sure that you don't stomp on global environment variables by always changing the variable with local. if you're really sure that you want to do that, check out the node above. but i think that normally want to think twice about changing environment variables when the user doesn't expect it. -- cat
In reply to Re: Setting environment variables
by cat2014
in thread Setting environment variables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |