in reply to How to protect a mod_perl script
You can also use Damian's Acme::Bleach -- he says it
cleans really good.
Then you asked how to load it with mod_perl and Apache. Instead of a dirname, push an object into @INC that implements the INC method and returns a filehandle to the unbleached code.
In Section
Seekers of Perl Wisdom