The Apache mod_perl Module
The Apache Web server is built using a group of programs referred to as modules. When the Apache Web server receives a request for a particular document, it is sent to several modules, which check to see whether they are supposed to handle the request. To extend the Apache Web server, a user can write new modules in C. Of course, writing new modules in C to extend the functionality of your Web server is not an easy task.
On the other hand, a particular module called mod_perl combines the Perl interpreter with the Apache server. Among other things, this enables you to run your Perl CGI scripts using the mod_perl module, which eliminates the overhead of starting Perl and compiling your scripts every time they’re requested. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access