This is the mail archive of the
cygwin
mailing list for the Cygwin project.
how t o read env variable in cygwin
- From: cyg_win_user <sachin_chat at rediffmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 27 Mar 2006 02:12:45 -0800 (PST)
- Subject: how t o read env variable in cygwin
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
--
View this message in context: http://www.nabble.com/how-t-o-read-env-variable-in-cygwin-t1348310.html#a3607003
Sent from the Cygwin Users forum at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/