X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject:  Re: Changing HOME for PERL
Date:  Thu, 27 Aug 2009 08:11:24 -0700
Lines: 39
Message-ID: <h767mt$7d9$1@ger.gmane.org>
References:  <CC93624851A47D42AFD22FB06BCD2D9A0234B8A7@CORPUSMX80B.corp.emc.com> <4A959537.7020900@bopp.net> <CC93624851A47D42AFD22FB06BCD2D9A0234B90D@CORPUSMX80B.corp.emc.com> <4A95AA6A.9010909@bopp.net> <CC93624851A47D42AFD22FB06BCD2D9A0234BB33@CORPUSMX80B.corp.emc.com> <4A9697B2.6050101@bopp.net> <CC93624851A47D42AFD22FB06BCD2D9A0234BBCD@CORPUSMX80B.corp.emc.com> <h766kg$359$2@ger.gmane.org> <CC93624851A47D42AFD22FB06BCD2D9A0234BBF8@CORPUSMX80B.corp.emc.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
In-Reply-To: <CC93624851A47D42AFD22FB06BCD2D9A0234BBF8@CORPUSMX80B.corp.emc.com>
X-Stationery: 0.4.10
X-IsSubscribed: yes
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

Dexter_Michael@emc.com wrote:
> Hi Andrew,
>
> It seems my Cygwin has attached itself to the PERL on my C drive and 
> not the cygwin Perl. How do I change that? Also debugger seemed to 
> work too.
>
> dextem@USENDEXTEML1C /usr/bin
> $ which perl
> /cygdrive/c/PERL/BIN/perl
>
> dextem@USENDEXTEML1C /usr/bin
> $ which Perl
> /cygdrive/c/PERL/BIN/Perl
Well this is bad. Again, I'm not sure what C:\PERL\BIN\perl is but I 
suspect it's ActiveState's Perl (Yuck!) and the above indicates that 
Cygwin's /usr/bin is not in your path before C:\PERL\BIN. This is not 
good. What's your PATH look like?

(Hmmm... the "perl" vs "Perl" thing... I guess things like ls and which 
don't care about case but perhaps exec(1) does. I know that NTFS is case 
insensitive but case preserving but Unix/Linux is supposed to be not 
only case preserving but case sensitive too).
> dextem@USENDEXTEML1C /usr/bin
> $ perl -de 1
>
> Loading DB routines from perl5db.pl version 1.28
> Editor support available.
>
> Enter h or `h h' for help, or `perldoc perldebug' for more help.
>
> main::(-e:1): 1
> DB<1> q
This just ran the ActiveState Perl, which also supports a debugger. 
Given your PATH try "/usr/bin/perl -de 1".
-- 
Andrew DeFaria <http://defaria.com>
He's dead. It's been 2,000 years. He's not coming back. Get over it 
already!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

