delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/11/21:58:23

X-Spam-Check-By: sourceware.org
From: "Kevin T Cella" <kcella AT nycap DOT rr DOT com>
To: <cygwin AT cygwin DOT com>
References: <000301c733a2$28c29db0$7a47d910$@rr.com> <Pine DOT GSO DOT 4 DOT 63 DOT 0701100857580 DOT 6616 AT access1 DOT cims DOT nyu DOT edu> <006901c73528$574b11d0$05e13570$@rr.com> <eo4fat$7v0$1 AT sea DOT gmane DOT org> <009701c7357f$4b05f9b0$e111ed10$@rr.com> <Pine DOT GSO DOT 4 DOT 63 DOT 0701110931320 DOT 6616 AT access1 DOT cims DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.63.0701110931320.6616@access1.cims.nyu.edu>
Subject: RE: activestate perl on cygwin
Date: Thu, 11 Jan 2007 21:56:55 -0500
Message-ID: <00b001c735f5$523f2c80$f6bd8580$@rr.com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

> [snip] you only need the wrapper script to transform the script name from
> POSIX path style to Win32 style, and only if it's in the #! (shebang)
> line of a perl script.  That was what my wrapper script was designed to do
> (as shown by the example usage). You do NOT need a wrapper to run the
> command above -- just invoke ActiveState perl directly.

This is brilliant! I have no idea why I did not see it before, but this
solves
my problem in a very concise way. My wrapper script can mimic yours if the
number
of arguments is exactly 2. If they are greater than 2, then I will invoke
Activestate
perl directly making sure to use Windows style paths when appropriate (ie:
perl -c <file>).

On another, more apologetic note...

I cannot believe I have not been kicked off this mailing list yet. Everyone
has been
more than helpful and I have just been a complete ass. Honestly, I could not
tell you
why, but for whatever reason it was kind of fun trying to find an angry
retort. Maybe
I finally snapped, all too often I post technical questions to forums or
mailing lists
without any solutions to my problems. I swear this is not me being
sarcastic. You have
my word I will continue to be less caustic. My rant is over. Thanks!







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

- Raw text -


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