|File Search||Catalog||Content Search|
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 (package libhtml-mason-perl).
The micro-blog demo built in Mason::Manual::Tutorial. Run install.sh to install CPAN modules and the database. Run plackup to start the server.
Mason::Manual::FAUsermContributed Perl DocumeMason::Manual::FAQ(3pm) NAME Mason::Manual::FAQ - Frequently asked questions about Mason COMPONENTS Can I create global variable(s) that can be seen from all components? Mason components each run in their own packages, so if you set a regular global in one you won't be able to see it in the others. But y more»
__END__ =pod =head1 NAME Mason::Manual::FAQ - Frequently asked questions about Mason =head1 COMPONENTS =head2 Can I create global variable(s) that can be seen from all components? Mason components each run in their own packages, so if you set a regular global in one you won't be able to see it in the others. But you can use L<allow_globals|Mason::Interp/allow_globals> and L<set_global|Maso more»
MASON(1p) User Contributed Perl Documentation MASON(1p) NAME mason.pl - evalu more»
Mason(3pm) User Contributed Perl Documentation Mason(3pm) NAME Mason - Powerful more»
Mason::App(3pm) User Contributed Perl Documentation Mason::App(3pm) NAME Mason::App - Imp more»
Mason::CodeCache(User Contributed Perl DocumentMason::CodeCache(3pm) NAME Mason::CodeCache more»
Mason::CompilatioUsermContributed Perl DocumeMason::Compilation(3pm) NAME Mason::Compilati more»