in reply to How can I create a new ENV in Perl
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can I create a new ENV in Perl
by anaconda_wly (Scribe) on Apr 01, 2013 at 09:25 UTC | |
|
Re^2: How can I create a new ENV in Perl
by BillKSmith (Monsignor) on Apr 01, 2013 at 12:48 UTC | |
by Corion (Patriarch) on Apr 01, 2013 at 19:06 UTC |