Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
The stupid question is the question not asked
 
PerlMonks  

Re: How do I set env. Variables from Perl with shell script

by JavaFan (Canon)
on May 04, 2009 at 13:22 UTC ( #761719=note: print w/ replies, xml ) Need Help??


in reply to How do I set env. Variables from Perl with shell script

It depends on your OS. Probably the easiest (as, requires the fewest lines of code changes) is to run it on VMS, as that OS allows child processes to update the environment variables of the parent.

If you are running a Unix of a Windows flavour, you may have to result to trickery: for instance, by creating a wrapper (shell) program that sources your existing shell script, then executes your Perl program.


Comment on Re: How do I set env. Variables from Perl with shell script

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-04-20 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls