Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: config env script help building gradle from perl script (system/open tips needed)

by BrowserUk (Pope)
on Jun 11, 2013 at 23:35 UTC ( #1038362=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: config env script help building gradle from perl script (system/open tips needed)
Select or Download Code
Re^2: config env script help building gradle from perl script (system/open tips needed)
by gj2666 (Sexton) 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).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-07-26 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls