delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Sun, 7 Feb 2010 20:51:28 +0530 |
Message-ID: | <a81c2f2d1002070721g30dbda89n44dda7ac80be6131@mail.gmail.com> |
Subject: | ActiveState Perl and Cygwin How To |
From: | "raphael()" <raphael DOT japh AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
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 |
Hello, I have been using Cygwin for quite some time now on Windows XP. I use Perl extensively and the scripts I use/create are fairly portable. I want to use ActiveState Perl as I can install many modules from CPAN that give me trouble in Cygwin using cpan install ... The problem is that AS Perl cannot find the Perl script I invoke on the command line as the script's PATH that Cygwin reports to AS Perl is a unix one i.e. /cygdrive/c/cygwin/home/.../bin whereas AS Perl requires it in C:\cygwin\home\...\bin\. The Perl script is in PATH. This happens only with AS Perl (duh) as it requires backslash delimited path. I have searched somewhat on the web regarding this but haven't found anything. There are bash scripts that act in between and convert unix path to windows before invoking AS Perl but you still have to give it complete script path like $ bash_convert.sh /home/.../bin/perlscript.pl -h this will give C:\Perl\bin\perl.exe C:\cygwin\home\...\bin\perlscript.pl -h But what I want is that it should work directly like perlscr{TAB} {ENTER} and voil=E0 working :) Any Ideas? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |