http://www.perlmonks.org?node_id=379885


in reply to exe for perl

As long as your extensions (.pl) are set to open with the perl executable, you can run a .pl file by clicking on it or a shortcut to it. If this is not set correctly, you can right click on a .pl file, select "Open With", then "Choose Program" to find the Perl executable.



Thanks,
GW

Replies are listed 'Best First'.
Re^2: exe for perl
by inman (Curate) on Aug 04, 2004 at 08:25 UTC
    and if you append .pl to the PATHEXT environment variable then you don't need to type the .pl extension.
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pl;