in reply to perl exe execution

The pp tool in PAR is able to package a perl script (and modules) into an executable file. (EXE on Windows platforms.)

I *believe* (but may be wrong) that basically the perl script is bundled together with a copy of the perl interpreter in one EXE file. There is an option to compile the code to bytecode.

There is also a program called perlcc. This program compiles the perl code into an actual executable file. Note that perlcc has been considered beta for quite a while and not all perl code compiles nicely.

There is a commercial program called perl2exe. I do not know much about it. I have never used it.

Compiling perl code is asked about enough to get a FAQ entry, How can I compile my Perl program into byte code or C?.

There is an old thread about compiling perl at Why has perl never been a compiled language....