- Mod perl
Infobox Software
name = mod_perl
caption =
developer =Apache Software Foundation
latest release version = 2.0.3
latest release date = release date|2006|11|28
latest preview version =
latest preview date =
operating system =Cross-platform
platform =Perl
programming language =
genre =Perl module forApache HTTP server
license =Apache License 2.0
website = http://perl.apache.org/mod_perl is an optional module for the
Apache HTTP server . It embeds aPerl interpreter into the Apache server, so that dynamic content produced by Perl scripts can be served in response to incoming requests, without the significant overhead of re-launching the Perl interpreter for each request. AsLincoln D. Stein defined mod_perl in his words:mod_perl can emulate a CGI environment, so that existing Perl CGI scripts can benefit from the performance boost without having to be re-written.
Unlike CGI (and most other web application environments), mod_perl provides complete access to the Apache API, allowing
programmer s to write handlers for all phases in the Apache request cycle, manipulate Apache's internal tables and state mechanisms, share data between Apache processes or threads, alter or extend the Apacheconfiguration file parser, and add Perl code to the configuration file itself, among other things.ee also
*
CGI.pm
*FastCGI
*SpeedyCGI External links
* [http://perl.apache.org/ Main website]
* [http://www.perl.com/pub/a/2002/02/26/whatismodperl.html Why mod_perl?]
* [http://www.revsys.com/writings/modperl.html The magic of mod_perl]
* [http://www.modperl.com/ Writing Apache Modules with Perl and C]
* [http://modperlbook.org/ Practical mod_perl]
Wikimedia Foundation. 2010.