go ahead... be a heretic | |
PerlMonks |
Re: ENV PATH didn't take effectby Happy-the-monk (Canon) |
on Jun 07, 2013 at 06:03 UTC ( [id://1037588]=note: print w/replies, xml ) | Need Help?? |
I am afraid I am not qualified for the windows support, but my best guess is, the system variables do not get propagated to all users as you suspect.
You can modify your own PATH variable in Perl through the %ENV hash. $ENV{PATH} contains the PATH, and you can modify it. Subsequent shells or cmd prompts invoked by your Perl script use that information. Cheers, Sören edit: strikethrough - wrong thought (hooked on the Perl Programming language)
In Section
Seekers of Perl Wisdom
|
|