[Catalyst] Remove .pl from scripts?

Christopher H. Laco claco at chrislaco.com
Sat Nov 19 18:42:04 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bill Moseley wrote:
> I vote for no extensions.  My /usr/bin is full of "programs" that are
> of various types w/o extensions.
> 
> 
>     $file .= '.pl' if $^O eq 'MSWin32';
> 
> or 
> 
>     -add_pl_to_scripts
> 
> or
> 
>     print "You seem to be running on a shebangless system.
>             Add .pl to your scripts? [y]/n: ";
> 

Well, OS scripts are a different story. There, no extension makes sense.
For instance, in FreeBSD, some were converted over time from bash, ro
perl, to c. THeir names not changing was a good thing. I don't believe
that applies to userland perl files with th same imortance.


Now as for no extensions on *nix, and extensions on WIndows, that leads
to more problems. Now when you refer to a script in documentation, you
have to mention that fact that it's not named the same thing on
different platforms.

- -=Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDf2Ps+66dLHM50ssRAlKYAJ0XvKD0lg9HKd00QtquWVeZf4zAcgCgkmMQ
ZmNKYmyaMHSVkWLjKepOns8=
=2Z3H
-----END PGP SIGNATURE-----



More information about the Catalyst mailing list