Mod perl

From Wikipedia, the free encyclopedia

The title of this article should be mod_perl. The initial letter is capitalized and an underscore is substituted or omitted because of technical restrictions.

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.

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 easily write handlers for any phase 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.

Contents

The success of mod_perl lead to the implementation of Apache modules for a number of other languages. By far, the most commonly used such module is PHP's mod_php, which is the primary method of executing PHP programs.[1] Other programming languages, such as Java, provide full-featured Web server APIs and stateful execution through larger frameworks such as JSP. Other dynamic programming languages such as Python provide their own mod_perl equivalent (mod_python), with varying degrees of API access, but all addressing the issue of stateful execution.


  1. ^ http://www.php.net/usage.php

  • Software
    • XAMPP is an easy to install Apache distribution with mod_perl and many other applications for Linux, Mac OS X, Solaris and Windows.
    • IndigoPerl includes an Apache web server integrated with mod_perl and other applications.
Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.