Mason (Perl)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Last release
2.24 / May 16, 2015; 3 years ago (2015-05-16)[1]
Written in Perl
Operating system Cross-platform
Type Web application framework
License GNU General Public License, Artistic License

HTML::Mason, or Mason for short, is a web application framework written in Perl. It is distributed on CPAN.

It has features which make it a suitable backend for high-load sites serving dynamic content, such as online newspapers or database-driven e-commerce sites. Several popular web sites including[2] and Delicious[3] are or were powered by Mason. An extensive list of sites using Mason can be found at Mason HQ.

The general style of Mason is similar to StoryServer or even PHP, but Mason uses Perl as its control language, and as such can use almost any CPAN module.

Mason can be used with Apache HTTP Server via mod_perl – for which Mason provides its own handler, HTML::Mason::ApacheHandler. It also has support for Common Gateway Interface (CGI), and can therefore run on any CGI-enabled web server.

See also


  1. ^ "Jonathan Swartz". CPAN. Retrieved 2016-03-16.
  2. ^ Mason HQ: AmazonDotCom
  3. ^ Rands In Repose: A Interview Archived 2007-02-13 at the Wayback Machine.

External links

  • The Mason Book
  • Mason pages at CPAN
  • The Perl Programming Language
Retrieved from ""
This content was retrieved from Wikipedia :
This page is based on the copyrighted Wikipedia article "Mason (Perl)"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA