From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8281 invoked from network); 9 May 2003 15:37:10 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 9 May 2003 15:37:10 -0000 Received: (qmail 3470 invoked by alias); 9 May 2003 15:36:56 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6096 Received: (qmail 3463 invoked from network); 9 May 2003 15:36:56 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 9 May 2003 15:36:56 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.2.95.247] by sunsite.dk (MessageWall 1.0.8) with SMTP; 9 May 2003 15:36:55 -0000 Received: from wesley.pjcj.net (dclient217-162-92-5.hispeed.ch [217.162.92.5]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id h49FaNRc029138; Fri, 9 May 2003 17:36:23 +0200 Received: from localhost ([127.0.0.1] helo=pjcj.net ident=www-data) by wesley.pjcj.net with smtp (Exim 3.35 #1 (Debian)) id 19E9v4-0003Rp-00; Fri, 09 May 2003 17:36:22 +0200 Received: from 193.134.254.145 (SquirrelMail authenticated user pjcj) by wesley.pjcj.net with HTTP; Fri, 9 May 2003 17:36:22 +0200 (CEST) Message-ID: <14023.193.134.254.145.1052494582.squirrel@wesley.pjcj.net> In-Reply-To: <20030509141259.GA83621@ppe.happygiraffe.net> References: <20030509140206.GA83525@ppe.happygiraffe.net> <20030509141259.GA83621@ppe.happygiraffe.net> Date: Fri, 9 May 2003 17:36:22 +0200 (CEST) Subject: Re: Perl completion From: "Paul Johnson" To: dom@happygiraffe.net Cc: zsh-users@sunsite.dk X-Mailer: SquirrelMail (version 1.4.0 RC1) MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal dom@happygiraffe.net said: > On Fri, May 09, 2003 at 03:02:06PM +0100, Dominic Mitchell wrote: >> I've just noticed in _perl that it only completes *.p[ml]. Which is actually wrong, I think. .pm files are Perl modules and shouldn't be directly executed, although that would be valid after -c to check the syntax. .pl files are officially Perl libraries, and again they shouldn't be directly executed. Many people do use .pl as an extension for Perl programs, though if an extension is required, .plx is recommended. Many people don't use an extension at all. Some standard Perl programs have other extensions such as .t (tests) or .PL (often used in build processes). It seems to me that it would be better not to pay any heed to the extension. -- Paul Johnson - paul@pjcj.net http://www.pjcj.net