That is not doing what the OP is expecting; and could cause mysterious problems.
Rather than simply modifying the current session's environment; it makes persistent changes to the system registry. Which is fine if that is the intent; but dangerous if not.
In reply to Re^2: Windows environment variable not set if calling from a perl program
by BrowserUk
in thread Windows environment variable not set if calling from a perl program
by svasa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |