You will have to use the Windows API, and even then, the new environment variable will likely only be seen by processes created after that change. See the Windows documentation on Environment Variables.
The likely easiest way to set the variables through the registry is Win32::TieRegistry.
In reply to Re: How can I create a new ENV in Perl
by Corion
in thread How can I create a new ENV in Perl
by anaconda_wly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |