Template::Alloy::Play(3pm) | User Contributed Perl Documentation | Template::Alloy::Play(3pm) |
Template::Alloy::Play - Play role - allows for playing out the AST
The Template::Alloy::Play role allows for taking the AST returned by the Parse role, and executes it directly. This is in contrast Template::Alloy::Compile which translates the AST into perl code and then executes the perl code.
my $tree = $self->load_tree('somefile'); my $out = ''; $self->play_tree($tree, \$out);
Paul Seamons <paul@seamons.com>
This module may be distributed under the same terms as Perl itself.
2021-01-08 | perl v5.32.0 |