zsh-users
 help / color / mirror / code / Atom feed
From: "Paul Johnson" <paul@pjcj.net>
To: dom@happygiraffe.net
Cc: zsh-users@sunsite.dk
Subject: Re: Perl completion
Date: Fri, 9 May 2003 17:36:22 +0200 (CEST)	[thread overview]
Message-ID: <14023.193.134.254.145.1052494582.squirrel@wesley.pjcj.net> (raw)
In-Reply-To: <20030509141259.GA83621@ppe.happygiraffe.net>


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


  reply	other threads:[~2003-05-09 15:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-09 14:02 Dominic Mitchell
2003-05-09 14:12 ` Dominic Mitchell
2003-05-09 15:36   ` Paul Johnson [this message]
2003-05-11 18:35     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14023.193.134.254.145.1052494582.squirrel@wesley.pjcj.net \
    --to=paul@pjcj.net \
    --cc=dom@happygiraffe.net \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).