Mason-2.23

NAME

DESCRIPTION

FILTERS

Uses $m->capture to capture the content in $ref instead of outputting it.

% $.Capture(\my $content) {{
<!-- this will end up in $content -->
% }}
... do something with $content

CompCall ($path, @args...)

Calls the component with path and @args, just as with $m->scomp, with an additional coderef argument yield that can be invoked to generate the content. Arguments passed to yield can be accessed inside the content via @_. This is the replacement for Mason 1's Components With Content.