delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/27/11:24:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Re: Changing HOME for PERL
Date: Thu, 27 Aug 2009 11:24:07 -0400
Message-ID: <CC93624851A47D42AFD22FB06BCD2D9A0234BC28@CORPUSMX80B.corp.emc.com>
In-Reply-To: <h767mt$7d9$1@ger.gmane.org>
References: <CC93624851A47D42AFD22FB06BCD2D9A0234B8A7 AT CORPUSMX80B DOT corp DOT emc DOT com> <4A959537 DOT 7020900 AT bopp DOT net> <CC93624851A47D42AFD22FB06BCD2D9A0234B90D AT CORPUSMX80B DOT corp DOT emc DOT com> <4A95AA6A DOT 9010909 AT bopp DOT net> <CC93624851A47D42AFD22FB06BCD2D9A0234BB33 AT CORPUSMX80B DOT corp DOT emc DOT com> <4A9697B2 DOT 6050101 AT bopp DOT net> <CC93624851A47D42AFD22FB06BCD2D9A0234BBCD AT CORPUSMX80B DOT corp DOT emc DOT com> <h766kg$359$2 AT ger DOT gmane DOT org> <CC93624851A47D42AFD22FB06BCD2D9A0234BBF8 AT CORPUSMX80B DOT corp DOT emc DOT com> <h767mt$7d9$1 AT ger DOT gmane DOT org>
From: <Dexter_Michael AT emc DOT com>
To: <Andrew AT DeFaria DOT com>, <cygwin AT cygwin DOT com>
X-EMM-EM: Active
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Yes that is SolidState Perl on the C drive.

/usr/bin is in the front.


dextem AT USENDEXTEML1C /usr/bin/perl
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program
Files/EMC/Centera/4_0/GlobalServices/lib:/cygdrive/c/Program
Files/EMC/Centera/4_0/GlobalService
s/bin:/cygdrive/c/PERL/BIN/:/cygdrive/c/WINNT/SYSTEM32:/cygdrive/c/WINNT
:/cygdrive/c/WINNT/SYSTEM32/WBEM:/cygdrive/c/JAVASOFT/JRE/1.4.2_06/BIN:/
cygdrive/c/JAVAS
OFT/JDK/1.4.2_06/BIN:/cygdrive/c/RATIONAL/CLEARCASE/ETC:/cygdrive/c/RATI
ONAL/CLEARCASE/ETC/UTILS:/cygdrive/c/RATIONAL/ClearQuest:/cygdrive/c/Mic
rosoftVisualStud
io.NET2003/Common7/IDE:/cygdrive/c/MicrosoftVisualStudio.NET2003/Vc7/BIN
:/cygdrive/c/MicrosoftVisualStudio.NET2003/Common7/TOOLS:/cygdrive/c/Mic
rosoftVisualStud
io.NET2003/Common7/TOOLS/bin/prerelease:/cygdrive/c/MicrosoftVisualStudi
o.NET2003/Common7/TOOLS/bin:/cygdrive/c/MicrosoftVisualStudio.NET2003/SD
K/v1.1/bin:/cygd
rive/c/WINNT/Microsoft.NET/Framework/v1.1.4322:/cygdrive/c/WINNT/SYSTEM:
/cygdrive/c/ORACLE/92/bin:/cygdrive/c/oracle/jre/1.1.7/bin:/cygdrive/c/M
icrosoftPlatform
SDK/Bin:/cygdrive/c/MicrosoftPlatformSDK/Bin/winnt:/cygdrive/c/Program
Files/Rational/ClearCase/bin:/cygdrive/c/Program
Files/Rational/ClearCase/etc:/cygdrive/c
/Program
Files/Rational/ClearCase/etc/utils:/cygdrive/c/WINNT/system32/WindowsPow
erShell/v1.0:/cygdrive/c/Program
Files/Rational/common:/cygdrive/c/Program File
s/EMC/Centera/4_0/GlobalServices/JCenteraVerify:/cygdrive/c/Program
Files/Common Files/Roxio Shared/9.0/DLLShared/:"C:/Program Files/Common
Files/EMC":/cygdrive
/c/PROGRA~1/COMMON~1/EMC:/cygdrive/c/Program Files/Support
Tools/:/cygdrive/c/Program Files/Common Files/Roxio
Shared/DLLShared/:/cygdrive/c/Program Files/Quick
Time/QTSystem/:/cygdrive/c/Program Files/Windows
Imaging/:/cygdrive/c/Program Files/IDM Computer
Solutions/UltraEdit/:/cygdrive/c/Program Files/IDM Computer Sol
utions/UltraCompare/:/usr/lib/lapack



dextem AT USENDEXTEML1C /usr/bin/perl
$ /usr/bin/perl.exe -de 1

Loading DB routines from perl5db.pl version 1.28
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1):   1
  DB<1> q




-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Andrew DeFaria
Sent: Thursday, August 27, 2009 11:11 AM
To: cygwin AT cygwin DOT com
Subject: Re: Changing HOME for PERL

Dexter_Michael AT emc DOT com wrote:
> Hi Andrew,
>
> It seems my Cygwin has attached itself to the PERL on my C drive and=20
> not the cygwin Perl. How do I change that? Also debugger seemed to=20
> work too.
>
> dextem AT USENDEXTEML1C /usr/bin
> $ which perl
> /cygdrive/c/PERL/BIN/perl
>
> dextem AT 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=20
suspect it's ActiveState's Perl (Yuck!) and the above indicates that=20
Cygwin's /usr/bin is not in your path before C:\PERL\BIN. This is not=20
good. What's your PATH look like?

(Hmmm... the "perl" vs "Perl" thing... I guess things like ls and which=20
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=20
only case preserving but case sensitive too).
> dextem AT 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.=20
Given your PATH try "/usr/bin/perl -de 1".
--=20
Andrew DeFaria <http://defaria.com>
He's dead. It's been 2,000 years. He's not coming back. Get over it=20
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



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019