Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: exchanging data between shell script and perl -e

by Sinister (Friar)
on Jul 25, 2001 at 16:40 UTC ( [id://99648]=note: print w/replies, xml ) Need Help??


in reply to Re: exchanging data between shell script and perl -e
in thread exchanging data between shell script and perl -e

The export works just fine! Thank you!

<update>
setenv works even beter!
</update>


Sinister greetings.
perldoc -q $_
  • Comment on Re: Re: exchanging data between shell script and perl -e

Replies are listed 'Best First'.
Re: Re: Re: exchanging data between shell script and perl -e
by PrakashK (Pilgrim) on Jul 25, 2001 at 18:12 UTC
    export and setenv are both doing the same thing: adding the variable to your environment, making them accessible to other processes running under the same environment.

    You use one or the other depending on what shell you are using. The Bourne shell, Korn Shell, bash etc. support 'export'. The C shell and its variants (tcsh etc.) support 'setenv'.

    I am not sure if any of the shells support both of them, though.

Log In?
Username:
Password:

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

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

    No recent polls found