The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 2.02

  • Fixes
    • Allow index file (index.m, index.pm) to be accessed directly with /index path (Matthias Dietrich)
    • Fix error line # for invalid attribute
    • Include HTMLFilters in eg/blog/install.sh (qiuhw)
    • Fix t/mason-app.t to be perl-location-agnostic (qiuhw)
    • Prevent CPAN from indexing built-in plugin implementation files
  • Backend
    • Remove InstanceMeta object, make args() a direct method of component
    • Add pluggable Mason::Component::Import for importing non-Moose things into components

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
Content filters in 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
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/Compilation.pm
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