Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: values from perl to sh script

by wpeterma (Initiate)
on Jul 14, 2005 at 18:18 UTC ( [id://475001]=note: print w/replies, xml ) Need Help??


in reply to Re^2: values from perl to sh script
in thread values from perl to sh script

Nevermind, I have it. I an exporting my variables to env, then the script has them. e.g echo ${ENVVAR} Thanks for your consideration.

Replies are listed 'Best First'.
Re^4: values from perl to sh script
by rev_1318 (Chaplain) on Jul 15, 2005 at 07:52 UTC
    If the Perl program is started from your shell script and you want to let it return data to that shell script, setting environment variables won't do you any good. A child process (the Perl program) cannot alter it's parent's (ht e shell script) environment!

    Paul

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found