Changes for version 2.20

  • Improvements
    • Implement and document trailing slash policy - perl-mason/pull/11 (Pedro Melo)
  • Fixes
    • Coerce undefined filter argument to the empty string (Tomohiro Hosaka)
    • Eliminate "=for html" POD entries, which were mangling metacpan.org output (Pedro Melo)
    • Fix some tests for Windows - perl-mason/pull/9 (Tomasz Konojacki)
  • Documentation
    • Moved eg/blog to Poet

Documentation

evaluate a mason template and output the result
Index of Mason documentation
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
Setting up Mason
Creating custom subclasses of Mason's classes
Mason component syntax reference
Mason tutorial (DEPRECATED - SEE POET)
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/TieHandle.pm
in lib/Mason/Types.pm

Examples