Perl2Exe: too good to be troooo...?

If I use Perl2Exe to convert all 'Pls' to 'exes' -- does this meant i need never have to install any Perl on the server?
erikleeAsked:
Who is Participating?
 
adrianwardConnect With a Mentor Commented:
Yes, which is very useful.

The EXEs will be quite large, but you can reduce the size by using the -small option on perl2exe, but if you do that you have to distribute the PERL DLL too.

If you reference any libraries in the perl script you want to compile, you have to compile them on the command line too:

perl2exe maincode.pl a_library.pl cgi-lib.pl

(for example)

Hope this is some use
0
 
erikleeAuthor Commented:
Thanks adrian - i m be fiddling with it soon.
0
 
adrianwardCommented:
Yeah, I had a closer look into it and what it does is quite cunning really. It builds an EXE file which, when run, extracts PERL.EXE, PERLxxx.DLL, your source code and all the libraries needed into the \WINDOWS\TEMP directory, then simply runs the PERL interpreter as normal.

So, it's a bit of a cheat in that it doesn't really "compile" the program, but atleast it means you have only one single EXE file to distribute.


0
 
erikleeAuthor Commented:
hey, thanks again Adrian.
If you're based in London, I reckon you must be either an Arsenal or a Chelsea fan... or even Spurs.
0
 
adrianwardCommented:
Ha ha. Guess again. I'm not really a follower of football, suprisingly - for a Londoner.

:-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.