Without correct permissions for files created by CGI scripts, a script will fail. So, how to set permissions automatically (on the fly) when generating CGI files with new or unique names?
By the way, the cgi code is compiled/binary, so no mod_perl, etc.