in reply to When choosing perl/cgi

There's a huge speed advantage to using mod_perl over any sort of CGI. mod_perl is an Apache module that puts a Perl interpreter right into the web server. It removes all the overhead of loading the interpreter, loading the script, and byte compiling the script by keeping it all in memory. Furthermore, since the scripts stay in memory, you can set variables, establish database connections, etc, and they stick around for the life of the process.