ActiveState Perl installs an IIS script mapping for the extension .plx
. Is this actually used in real life or just something specific to ActiveState?
No, it's not just from ActiveState. O'Reilly's Learning Perl on Win32 systems recommends naming scripts with a .plx
extension to disambiguate them from perl modules (with .pm
) and non-executable perl libraries (.pl
). Nowadays however I'd name anything that is going to be directly run as .pl
.
This is a matter of personal preference. It is not something unique to ActiveState. PLX stands for Perl Executable Script which is perhaps a bit more defined then PL which stands for Perl Script (apparently originally Perl Library as another user wrote). However, on CPAN you see numerous places where PLX is used as extension so it is perhaps not so rare as it seems:
etc.
UPDATE: here's an earlier discussion of the same discussing whether *.pl or *.plx should be used. It also mentions that Prolog uses *.pl as well and playlist is yet another use.
© 2022 - 2024 — McMap. All rights reserved.