Mason - Powerful, high-performance templating for the web and beyond
% my $name = "Mason"; Hello world! Welcome to <% $name %>.
Mason is a powerful Perl-based templating system, designed to generate dynamic content of all kinds.
Unlike many templating systems, Mason does not attempt to invent an alternate, "easier" syntax for templates. It provides a set of syntax and features specific to template creation, but underneath it is still clearly and proudly recognizable as Perl.
Mason is most often used for generating web pages. It can handle web requests directly via PSGI, or act as the view layer for a web framework such as Catalyst or Dancer.
All documentation is indexed at Mason::Manual.
The previous major version of Mason (1.x) is available under the name HTML::Mason.
The mailing list is email@example.com. You must be subscribed to send a message. To subscribe, visit https://lists.sourceforge.net/lists/listinfo/mason-users.
You can also visit us at
#mason on irc://irc.perl.org/#mason.
Bugs and feature requests will be tracked at RT:
The latest source code can be browsed and fetched at:
http://github.com/jonswar/perl-mason git clone git://github.com/jonswar/perl-mason.git
Thanks to Stevan Little and the Moose team for the awesomeness of Moose, which motivated me to create a second version of Mason years after I thought I was done.
Thanks to Tatsuhiko Miyagawa and the PSGI/Plack team, who freed me from ever worrying about server backends again.
Jonathan Swartz <firstname.lastname@example.org>
This software is copyright (c) 2011 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.