http://www.perlmonks.org?node_id=1038362


in reply to config env script help building gradle from perl script (system/open tips needed)

If you set values into %ENV before calling system, then commands or programs run via system will see those changes,

C:\test>set fred Environment variable fred not defined C:\test>perl -E"$ENV{fred}='bill'; system q[set fred]";; fred=bill

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.