zsh-users
 help / color / mirror / code / Atom feed
* RE: Calling Perl scripts without the .pl
@ 2003-12-19 18:23 Eric.D.Friedman
  2003-12-20 15:27 ` Peter Whaite
  0 siblings, 1 reply; 6+ messages in thread
From: Eric.D.Friedman @ 2003-12-19 18:23 UTC (permalink / raw)
  To: david, zsh-users

What's odd about this is, of course, that '.pl' was never an extension that
meant "perl script" -- it was always "perl library" in just the way that
".pm" is now used for perl modules.  But windows couldn't function without a
canonical extension name and so that little detail has been lost in the
hoary mists of time....

-----Original Message-----
From: zzapper [mailto:david@tvis.co.uk] 
Sent: Friday, December 19, 2003 10:18 AM
To: zsh-users@sunsite.dk
Subject: Re: Calling Perl scripts without the .pl


On Fri, 19 Dec 2003 12:55:15 -0500, "William H. Magill"
<magill@mcgillsociety.org> wrote:

>
>Works the same way as in every other shell...
>
>Just make "perlscript" executable, and loose the .pl

William,
I find it useful to see the .pl extension.

It's a "windows" thing to set PathExt thus

echo $PATHEXT

I'm sure I had it working before


zzapper (vim & cygwin & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Calling Perl scripts without the .pl
@ 2003-12-19 16:35 zzapper
  2003-12-19 16:36 ` zzapper
  2003-12-19 17:55 ` William H. Magill
  0 siblings, 2 replies; 6+ messages in thread
From: zzapper @ 2003-12-19 16:35 UTC (permalink / raw)
  To: zsh-users

Hi Ya Z Fans

In previous shells I've been able to call/execute perl scripts just by
typing say

>perlscript 

without the hassle of typing the .pl

> perlscript.pl

Can I configure this in zsh?

zzapper (vim & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-20 15:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-19 18:23 Calling Perl scripts without the .pl Eric.D.Friedman
2003-12-20 15:27 ` Peter Whaite
  -- strict thread matches above, loose matches on Subject: below --
2003-12-19 16:35 zzapper
2003-12-19 16:36 ` zzapper
2003-12-19 17:55 ` William H. Magill
2003-12-19 18:17   ` zzapper

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).