in reply to Restricting access to cgi source

Perl Encoder might help.

Also take a look at: Acme::Bleach