This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: perl problem with cygwin path


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]