For any Perl code to be executed, be it source, optree, or bytecode, at some point you can deparse it. It's not worth the trouble.
But I am always intruiged by this kind of request. The major question that pops up is: why do you want to hide your code?
- Hiding Perl code does not prevent copying
- Hiding Perl code does not increase product value
- Hiding Perl code costs a lot of time for investigation
- Hiding Perl code will not buy you any extra customers
- Hiding Perl code means you will probably not receive patches
But there's one thing left:
- Hiding Perl code hides the code (really!)
And that's very important iff
your code is an ugly piece of crap. But if this is the case, again, hiding the code isn't the proper solution...