This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Question on Perl (.pl) association
- From: Thorsten Kampe <thorsten at thorstenkampe dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 16 Mar 2004 23:39:58 +0100
- Subject: Re: Question on Perl (.pl) association
- References: <Law10-OE29sNQptgFrY00005ded@hotmail.com>
* Martin Gainty (2004-03-16 21:56 +0100)
> How does one associate CYGWIN Perl with .pl extensions within CYGWIN
> environment?
Same as in the Windows environment: "ftype" in connection with "assoc"
(or more convenient with "associate" from the ResourceKit).
> 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
You're confusing Windows and Unix semantics. There's never been such a
thing as an association between a file extension and an
application/interpreter in Unix/Cygwin.
You might be looking for a "she bang" which does something similar.
Thorsten
--
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/