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

Me again
I was just wondering .. from what I can gather, one can compile a perl program. Is it worth doing ... does it make the program run faster? And how might one go about compiling a perl script?
Thanks.

Replies are listed 'Best First'.
Re: compiling perl scripts
by GrandFather (Saint) on Sep 23, 2005 at 11:54 UTC

    You should Super Search that. But to get you started look at this.


    Perl is Huffman encoded by design.
Re: compiling perl scripts
by diotalevi (Canon) on Sep 23, 2005 at 15:57 UTC

    Your perl program won't run faster if you compile it using any of the ways that actually work. There's a way that almost never works but might leave you with a script that runs faster. So don't bother.