Apache Reference: mod_perl
mod_perl - Perl Integration and Interface
Since Apache 1.1, src/modules/perl/mod_perl.c (third-party)
Doug MacEachern (1996)
The mod_perl third-party module integrates the Perl programming language into the Apache web server by providing the Apache Module API (written in ANSI C) at the Perl programming level. One can therefore easily extend the Apache web server by writing extensions in Perl, which is much easier task than writing an Apache module in ANSI C. Many interesting Perl modules for Apache (usually named
Apache::==XXX) already exist and provide high-level features for Apache. One of the most interesting standard use cases for mod_perl isApache::Regis==try: In an alternative CGI implementation, the CGI scripts (written in Perl) are precompiled into byte-code, cached, and on request executed inside the address space of the Apache process. With this approach, the response time is a magnitude faster and the resource requirements are reduced.Directives: