delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/27/05:12:55

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 AT rediffmail DOT com>
To: cygwin AT cygwin DOT com
Subject: how t o read env variable in cygwin
MIME-Version: 1.0
X-Nabble-Sender: sachin_chat AT rediffmail DOT com
X-Nabble-From: cyg_win_user <sachin_chat AT rediffmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019