X-Spam-Check-By: sourceware.org
Message-ID: <3607003.post@talk.nabble.com>
Date: Mon, 27 Mar 2006 02:12:45 -0800 (PST)
From: cyg_win_user <sachin_chat@rediffmail.com>
To: cygwin@cygwin.com
Subject: how t o read env variable in cygwin
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-Sender: sachin_chat@rediffmail.com
X-Nabble-From: cyg_win_user <sachin_chat@rediffmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


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/

