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.

Replies are listed 'Best First'.
Re^2: config env script help building gradle from perl script (system/open tips needed)
by gj2666 (Beadle) on Jun 13, 2013 at 15:58 UTC
    Now at least that idea did not break my brain. Unfortunately the syntax will likely make me stabby. (been battling hashes of arrays syntax all morning. Hashes are hard like Lewisian Gneiss).