Since I happen to know you want to do this with mod_perl, I can tell you that there is no way to work with bytecode from mod_perl at this time. None of the suggestions above will work.
However, you can encrypt your source with a source filter. Look at something like Filter::CBC.
Comment on Re: Can I get compiled code in Perl like in Java(class file)