A Note on mod_perl

The mod_perl Apache module moves the processing of Perl scripts into the Apache web server itself. This has two advantages. First, it’s more efficient, because the Perl interpreter doesn’t need to be started each time a script is called. Second, you don’t need to include the path to the Perl interpreter on an initial #! line at the top of each file.

We won’t go into the details of mod_perl here, but we recommend you use it for any production site that uses Perl CGI scripts running on an Apache web server. You can find more information on this at perl.apache.org and in particular on the http://perl.apache.org/docs/2.0/user/intro/start_fast.html web page.

Get Learning MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.