in reply to encrypting perl code used with mod_perl

You might want to look into B::Bytecode. If your code comprises modules (*.pm files), compile them into *.pmc files, which are preferred over *.pm files by use and require. You can also use ByteLoader.

Depending on the reasons you want to "encrypt" your source files, you could take several checksums of them and tell your customers that support is lost with any modifications. If you want to prevent them from "stealing" your code, don't deliver it.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}