As another monk mentioned the .plx is an Activestate extension for PerlScript code that will be run off of an IIS web server (or rather more accurately an ISAPI enabled web server). Contrary to assertions made by some monks perl extensions do have meaning and the pervailing conventions shouldn't be ignored. For instance a .plx file shouldn't contain exec() as it isnt supported by the PerlScript engine. For CPAN authors using .perl (or other non .pl variants)instead of .pl is a bad idea as .pl scripts will get installed automatically in the perl/bin directory when doing a make install and their personal favorite wont. At least not without annoying modification of their makefile.pl (or maybe their build.pl), which in of itself shouldn't be renamed or the automated systems in CPAN.pm or CPANPlus.pm will break.

Theres another, totally aesthetic reason for complying with convention. For OS's that support associating icons to extensions it means that all of the various types are visually differentiable. For instance on my system all of the different common extensions have an icon associated. .pl files have the old style ActiveState yellow pearl, .pm have a nice dark blue pearl, and .t files have a nice green one. So if I download your conventionally named files ill readily identify them and their type by icon, the oddball variants wont be so easily distinguished. So id say stick with the conventional names unless you have a really good justification for doing so.


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi



In reply to Re: Use of .pl versus .plx file extensions by demerphq
in thread Use of .pl versus .plx file extensions by bradcathey

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.