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 To: cygwin AT cygwin DOT 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 AT rediffmail DOT com X-Nabble-From: cyg_win_user X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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/