Environment Variable in cshell and perl?

hui xu louiehui_xu-FFYn/CNdgSA at public.gmane.org
Fri Jun 4 18:28:57 UTC 2004


All,

Does anybody know how to setup environment variables of cshell by using perl code?

I use the following line in a perl code

$ENV{MYPAHT}="/HOME/HUI/PERLCODE/";

But after perl program is done, I use the following command to check 

the environment variable:

echo $MYPATH

it says $MYPATH is not defined.

The question is how to setup the $MYPATH by using perl program.

Thanks in advanced.

Louie

 



---------------------------------
Post your free ad now! Yahoo! Canada Personals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20040604/fd83cab4/attachment.html>


More information about the Legacy mailing list