X-Spam-Check-By: sourceware.org
From: "Kevin T Cella" <kcella@nycap.rr.com>
To: "'Andrew DeFaria'" <Andrew@DeFaria.com>, <cygwin@cygwin.com>
References: <000301c733a2$28c29db0$7a47d910$@rr.com> <Pine.GSO.4.63.0701100857580.6616@access1.cims.nyu.edu> <006901c73528$574b11d0$05e13570$@rr.com> <eo4fat$7v0$1@sea.gmane.org> <009701c7357f$4b05f9b0$e111ed10$@rr.com> <eo5fer$f6e$1@sea.gmane.org> <00af01c735f2$43713980$ca53ac80$@rr.com> <eo77ee$bqv$1@sea.gmane.org> <00d701c73646$7d628e10$7827aa30$@rr.com> <eo83fl$87k$1@sea.gmane.org>
In-Reply-To: <eo83fl$87k$1@sea.gmane.org>
Subject: RE: activestate perl on cygwin
Date: Fri, 12 Jan 2007 19:06:18 -0500
Message-ID: <00e301c736a6$a66de740$f349b5c0$@rr.com>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Content-Language: en-us
x-cr-hashedpuzzle: CNns D7lA E8xI FlH/ HAuk HkBe ILZx JSGJ JTOU J6tP K9oq Lowy N7zJ SK6D SpW1 S49a;2;YQBuAGQAcgBlAHcAQABkAGUAZgBhAHIAaQBhAC4AYwBvAG0AOwBjAHkAZwB3AGkAbgBAAGMAeQBnAHcAaQBuAC4AYwBvAG0A;Sosha1_v1;7;{E9B57925-FA8A-40EF-A31A-B69382FBE3B8};awBjAGUAbABsAGEAQABuAHkAYwBhAHAALgByAHIALgBjAG8AbQA=;Sat, 13 Jan 2007 00:06:02 GMT;UgBFADoAIABhAGMAdABpAHYAZQBzAHQAYQB0AGUAIABwAGUAcgBsACAAbwBuACAAYwB5AGcAdwBpAG4A
x-cr-puzzleid: {E9B57925-FA8A-40EF-A31A-B69382FBE3B8}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

> What does that matter? It's still short sited.

Yes, I don't disagree. Personally I do not care. I will deal with
having to port something when it happens.

> And what does #! look like?

#! /usr/bin/perl

> what does ls portion after #! in your script return?

Before the conversion using cygpath, it returns the same as
in the error: /home/kcella/bin/myscript.pl

But I think, there is some confusion here. My script will correctly execute
the
program using Activestate perl. The example I gave is for when I have no
wrapper script and just create a symlink in /usr/bin/perl that points
to /c/Perl/bin/perl.exe. The root cause of the example is the reason
for the initial post. The wrapper script was the solution I happened to
choose to get around the path problem, but quickly found out that it does
not work properly with: perl -e 'print join "\n", @INC, "\n";'

> Oh and what is PATH set to?

/home/kcella/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/Perl/bin/:/c
/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem


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

