As long as .pl files are associated with the perl interpreter,
set PATHEXT=%PATHEXT%;.PL at a command prompt will do it temporarily. You can set the PATHEXT environment variable permanently in the system properties capplet.
Originally posted as a Categorized Answer.