Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Setting Environment variables in Perl

by Random_Walk (Parson)
on Sep 12, 2005 at 11:37 UTC ( #491225=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Setting Environment variables in Perl
in thread Setting Environment variables in Perl

The OP said:

I have a situation where i have to set shell environment variables within perl script and invoke shell command which uses this environment variable using system() function.

So the commands are being run from within the Perl script using system(). They will be children of the Perl and will inherit it's environment.

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!


Comment on Re^3: Setting Environment variables in Perl
Download Code

Log In?
Username:
Password:

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

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

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls