in reply to Re: Use of .pl versus .plx file extensions
in thread Use of .pl versus .plx file extensions

True, but the same can be said for extensions of graphics. Todays .jpg might be tomorrows .png. Yet, people often find it useful to give their graphics an extension. Given that, I don't find it surprising they want to give their Perl programs an extension.

Usually, I don't give my Perl programs extensions - although sometimes, I do (mostly to trigger my editor to go into Perl mode).

Abigail

  • Comment on Re: Use of .pl versus .plx file extensions

Replies are listed 'Best First'.
Re: Re: Use of .pl versus .plx file extensions
by Eyck (Priest) on Mar 17, 2004 at 12:15 UTC
    This shouldn't be necessary as long as you use shebang #!/usr/bin(whatever)/perl in your scripts. Both emacs and vim recognize files this way.
      Sure, my editor recognizes that too. But I don't know about your OS, but if I start editing a new file, the file starts out without any characters in it. Meaning, not even a shebang line. Furthermore, imported code (say, from perlmonks), doesn't always have a shebang line.

      Abigail