delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/16/16:03:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Steve Baldwin" <stbaldwin AT multiservice DOT com>
To: "'Martin Gainty'" <mgainty AT hotmail DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: Question on Perl (.pl) association
Date: Wed, 17 Mar 2004 08:01:42 +1100
Message-ID: <000901c40b99$e35ab150$9065a8c0@AUSTBMOBILE>
MIME-Version: 1.0
In-Reply-To: <Law10-OE29sNQptgFrY00005ded@hotmail.com>
X-IsSubscribed: yes

I do what you would typically do in a *nix environment - i.e. make the
first line of the script "#!/usr/bin/perl -w".  Works just fine.

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Martin Gainty
> Sent: Wednesday, 17 March 2004 7:57 AM
> To: cygwin AT cygwin DOT com
> Subject: Question on Perl (.pl) association
> 
> 
> How does one associate CYGWIN Perl with .pl extensions within 
> CYGWIN environment? When I invoke CYGWIN in order to execute 
> a Perl Script I need to state  perl whatever.pl I would like 
> to place an association for .pl to the Cygwin Perl 
> Interpreter so when I invoke whatever.pl the associated 
> Cygwin Perl interpreter will be invoked to interpret the script
> 
> Thank You,
> ~Martin~
> 
> --
> 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/
> 


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