Description of Running CGI Scripts with mod_perl :
mod_perl improves the performance of CGI by enabling the PerlHandler callback hook which is used for content retrieval stage of server transactions. With Apache - Registry each individual CGI program is compiled and cached the first time it is called and then remains available for all subsequent instances of that CGI script.