Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I downloaded perl2exe and am a little annoyed they edited my code to include their little made by them BS plus a two second timer. Not too professional looking. Anyone know of a program that compiles just my code, and maybe lets me chose an icon(i noticed perl2exe chose a yellow ball for an icon)?

Replies are listed 'Best First'.
Re: What is a good compiler
by tinman (Curate) on Apr 10, 2001 at 08:40 UTC

    You got that message because perl2exe is not free. Its their equivalent of a shareware nag.

    Well, YMMV, but you can try ActiveState Perl Utilities. However, this is not free either...

    Another option that you can try if you want to compile to executable is called perlcc.. I've never tried it myself, but the man page says it generates C code which can then be compiled using a C compiler (gcc, mingw, VC++ etc)

Re (tilly) 1: What is a good compiler
by tilly (Archbishop) on Apr 10, 2001 at 20:56 UTC
    Why do you want a compiler?

    This is a serious question. Many people have serious misconceptions about what a compiler will do for them. Contrary to expectations, it will make your program bigger, waste memory, and make you run more slowly. If you wanted to use a compiler for any of those reasons, then you really didn't.

      Looks better I think when it is published.... typing in perl before the name is a little annoying and plus I would like to move the file into a more sutable directory when it is finished
        What operating system are you on?

        If Unix then get Perl installed in the bin where it belongs, use the #! line, and then chmod it to make the script executable.

        If Windows then wave the wand called pl2bat on it.

        For any other OS substitute appropriate directions.

        Also your comment about the more suitable directory confuses me. I hope you do not have the interpreter in the same directory as your scripts? If the scripts are running on a webserver, this is a massive security hole that the kiddies know to scan for...