Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Perl completion
- X-seq: zsh-users 6096
- From: "Paul Johnson" <paul@xxxxxxxx>
- To: dom@xxxxxxxxxxxxxxxx
- Subject: Re: Perl completion
- Date: Fri, 9 May 2003 17:36:22 +0200 (CEST)
- Cc: zsh-users@xxxxxxxxxx
- Importance: Normal
- In-reply-to: <20030509141259.GA83621@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030509140206.GA83525@xxxxxxxxxxxxxxxxxxxx> <20030509141259.GA83621@xxxxxxxxxxxxxxxxxxxx>
dom@xxxxxxxxxxxxxxxx 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@xxxxxxxx
http://www.pjcj.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author