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: Subject: ActiveState Perl and Cygwin How To From: "raphael()" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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