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

* Re: Calling Perl scripts without the .pl
  2003-12-19 18:23 Calling Perl scripts without the .pl Eric.D.Friedman
@ 2003-12-20 15:27 ` Peter Whaite
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Whaite @ 2003-12-20 15:27 UTC (permalink / raw)
  To: zsh-users

Eric.D.Friedman@wellsfargo.com wrote:

>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....
>  
>
I like the Active state convention of '.plx',  which I guess means 'perl 
executable'.  But now I'm totally off topic.


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

* Re: Calling Perl scripts without the .pl
  2003-12-19 17:55 ` William H. Magill
@ 2003-12-19 18:17   ` zzapper
  0 siblings, 0 replies; 6+ messages in thread
From: zzapper @ 2003-12-19 18:17 UTC (permalink / raw)
  To: zsh-users

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

* Re: 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
  2003-12-19 18:17   ` zzapper
  1 sibling, 1 reply; 6+ messages in thread
From: William H. Magill @ 2003-12-19 17:55 UTC (permalink / raw)
  To: zzapper; +Cc: zsh-users

On 19 Dec, 2003, at 11:35, zzapper wrote:
> 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

Works the same way as in every other shell...

Just make "perlscript" executable, and loose the .pl




T.T.F.N.
William H. Magill
# Beige G3 - Rev A motherboard - 768 Meg
# Flat-panel iMac (2.1) 800MHz - Super Drive - 768 Meg
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]- Tru64 5.1a
# XP1000 - [Alpha EV6]
magill@mcgillsociety.org
magill@acm.org
magill@mac.com


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

* Re: 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
  1 sibling, 0 replies; 6+ messages in thread
From: zzapper @ 2003-12-19 16:36 UTC (permalink / raw)
  To: zsh-users

On Fri, 19 Dec 2003 16:35:07 +0000, zzapper <david@tvis.co.uk> wrote:

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

Forgot to specify I'm zsh under cygwin

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

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