http://www.perlmonks.org?node_id=73749


in reply to quick question about security and viewing CGI source code

Apart from what has been mentioned, you should be careful that your cgi's own security doesn't let people see its source. Start with
#!/usr/bin/perl -wT use strict;
Then read up widely starting somewhere like the cgi/security links in Outside Links.