[Catalyst] Remove .pl from scripts?

Sebastian Riedel sri at oook.de
Sat Nov 19 18:26:24 CET 2005


Am 19.11.2005 um 18:16 schrieb Christopher H. Laco:
> How about some more fact rather than a quip?
> I believe SciTE is a rather well known non broken editor in that
> reqpest. I would wager that the majority of all editors check the file
> extension as the very first check in mapping files to languages and
> language parsers.
>
> I would also argue that having an editor guess what my file is by it's
> contents is more prone to error than the file extension.

Vim and TextMate work well without extension.

>
> How is that?
>
> Here's a file:  /usr/local/myfile
>
> What is it? Yup, you can't tell without opening it first, or TRYING to
> run it. If it has no shebang of execute bit, you're screwed. Now you
> have to open it to figure out how to run it.

But we are talking about "script/myapp_server" with execute bit.


--
sebastian




More information about the Catalyst mailing list