|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Re: Re: exchanging data between shell script and perl -eby PrakashK (Pilgrim) |
| on Jul 25, 2001 at 18:12 UTC ( #99680=note: print w/ replies, xml ) | Need Help?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||