The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 2.08

  • Incompatible changes
    • Change apply filter syntax to % $.Filter {{ ... % }} as it reduces tag soup and better matches the typical use of filtering a block of content
  • Improvements
    • Add $m->filter to manually apply filters
    • Add CLASS->no_wrap() as a convenient way to skip parent wrapping
    • Set $_ as well as $_[0] to content for filtering, to make s// based filters easier
  • Fixes
    • Define $CLASS as well as CLASS in components, ala CLASS module
    • Fix $. notation inside <& &>
    • Re-fix compatibility with JSON version 1.x
    • Untaint component source when in taint mode (e.g. mod_perl) as in Mason 1, otherwise compiler regexes may fail

Documentation

evaluate a mason template and output the result
Index of Mason documentation
Information for Mason administrators
The building blocks of Mason
Recipes for common Mason tasks
Frequently asked questions about Mason
Content filters in Mason
Getting started with Mason
Mason plugins
How request paths get mapped to page components
Mason component syntax reference
Mason tutorial
Summary of differences between Mason 1 and Mason 2

Modules

Powerful, high-performance templating for the web and beyond
Implementation of bin/mason
Result returned from Mason request
Performs compilation of a single component
Mason Component base class
Meta-information about Mason component class
Extra component imports
Moose policies and exports for Mason components
Exception objects thrown by Mason
Standard filters
Mason Interpreter
Mason Moose policies
Mason Moose role policies
Defer computing parts of output until the end of the request
Allow $. as substitution for $self-> and in attribute names
Create lvalue accessors for all rw component attributes
Tidy object files
Helper for defining Mason plugin roles
Mason Request Class
Result returned from Mason request

Provides

in lib/Mason/DynamicFilter.pm
in lib/Mason/Plugin.pm
in lib/Mason/PluginBundle.pm
in lib/Mason/PluginManager.pm
in lib/Mason/Tidy.pm
in lib/Mason/TieHandle.pm
in lib/Mason/Types.pm