Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: Question on Perl (.pl) association Date: Fri, 19 Mar 2004 15:39:24 +0100 Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: isi-dialin-129-178.isionline-dialin.de User-Agent: 40tude_Dialog/2.0.10.1de * Igor Pechtchanski (2004-03-17 20:51 +0100) > Again, since you have no such restrictions, simply change the '#!' line at > the top of your .pl files to '#!/usr/bin/perl -w' (or add it at the very > top if it isn't there). This should be enough to allow you to invoke .pl > files (or any other files, for that matter) from Cygwin shells using perl > (after appropriately 'chmod +x'ing them, of course). Another possibility would be to use a decent shell, hehehe: ,--- | New features between zsh versions 4.0 and 4.2 | --------------------------------------------- | | Syntax and builtins: | - Suffix aliases allow the shell to run a command on a file by suffix, | e.g `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied | function zsh-mime-setup uses existing mailcap and mime.types files | to set up suitable aliases. Supplied function pick-web-browser is | suitable for finding a browser to show .html etc. files by suffix alias. `--- 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/