Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 91372 invoked from network); 27 Mar 2006 10:28:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Mar 2006 10:28:59 -0000 Received: (qmail 99310 invoked by uid 500); 27 Mar 2006 10:28:53 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 99259 invoked by uid 500); 27 Mar 2006 10:28:52 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 99221 invoked by uid 99); 27 Mar 2006 10:28:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 02:28:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 02:28:51 -0800 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FNoxb-0007k8-42 for modperl@perl.apache.org; Mon, 27 Mar 2006 02:28:31 -0800 Message-ID: <3606968.post@talk.nabble.com> Date: Mon, 27 Mar 2006 02:09:41 -0800 (PST) From: cyg_win_user To: modperl@perl.apache.org Subject: read environent variable 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 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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/read-environent-variable-t1348295.html#a3606968 Sent from the mod_perl - General forum at Nabble.com.