« Return to Thread: how t o read env variable in cygwin

how t o read env variable in cygwin

by cyg_win_user :: Rate this Message:

Reply to Author | View in Thread

i m trying to read environment variable in perl using

        $OSTY = $ENV{OSTYPE};
this will return os type as "linux" or "solaris". but when i try for cygwin it returns empty string. is the some other syntax of way of finding value of env variable in cygwin

 « Return to Thread: how t o read env variable in cygwin