X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <461504C3.8090907@agilent.com>
Subject: RE: perl problem with cygwin path
Date: Thu, 5 Apr 2007 15:20:23 +0100
Message-ID: <02f901c7778d$8cd100b0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <461504C3.8090907@agilent.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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

On 05 April 2007 15:17, Mike R Brown wrote:

>     For example 'echo $HOME' within a bash shell returns
> /cygdrive/c/users/charlie which is the correct path.  On previous version of
> Cygwin's Perl the statement...  $home = $ENV{HOME} , which should just
> return the environmental variable HOME, returns /cygpath/c/users/charlie
> which of coarse is correct.  The newer version of Perl returns
> c:\users\charlie which is the Windows way of stating the path to home.  

<puts on blindfold, holds one hand to forehead while making a concentrating
face and waves fingers of other hand out dramatically in front of self like a
stage mind-reader>

  You have activestate perl installed on that box and it's earlier in the path
than cygwin perl.  Setup is correctly showing you the cygwin version - which
you then aren't invoking.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

