Mod perl

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 for Apache 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 a Perl 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. As Lincoln 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 programmers 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 Apache configuration 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.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Mod perl — mod perl  дополнительный модуль для веб сервера Apache, внедряющий интерпретатор языка Perl в Apache, и позволяющий избежать значительных накладных расходов на запуск Перла для обработки каждого запроса. mod perl может эмулировать окружение… …   Википедия

  • Mod perl — ist ein freies optionales Modul für den Apache Webserver, welches einen Perl Interpreter in den Webserver integriert. Auf diese Weise können Perl Skripte für dynamische Web Inhalte ausgeführt werden, ohne dass für jede HTTP Anfrage der Perl… …   Deutsch Wikipedia

  • Perl — Desarrollador(es) Larry Wall www.perl.org Información general Paradigma multiparadigma, funcional, im …   Wikipedia Español

  • PERL — Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Mod python — is an Apache HTTP Server module that integrates the Python programming language into the Apache server. It is intended to replace Common Gateway Interface (CGI) as a method of executing Python scripts on a web server. The promised benefits are… …   Wikipedia

  • Mod parrot — is an optional module for the Apache web server. It embeds a Parrot virtual machine interpreter into the Apache server and provides access to the Apache API to allow handlers to be written in Parrot assembly language, or any high level language… …   Wikipedia

  • Programmiersprache Perl — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Tim Towtdi — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Timtowtdi — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Tmtowtdi — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”