template::alloy::play(3pm) debian man page | unix.com

Man Page: template::alloy::play

Operating Environment: debian

Section: 3pm

Template::Alloy::Play(3pm)				User Contributed Perl Documentation				Template::Alloy::Play(3pm)

NAME
Template::Alloy::Play - Play role - allows for playing out the AST
DESCRIPTION
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.
ROLE METHODS
"play_tree" Takes the AST output of load_tree and executes it directly. It should be passed an AST tree and an output string reference that the content will be appended to. my $tree = $self->load_tree('somefile'); my $out = ''; $self->play_tree($tree, $out); "play_*" Methods by these names are used by execute_tree to execute the parsed tree.
AUTHOR
Paul Seamons <paul at seamons dot com>
LICENSE
This module may be distributed under the same terms as Perl itself. perl v5.10.1 2010-12-29 Template::Alloy::Play(3pm)
Related Man Pages
html::template::compiled::classic(3pm) - debian
template::alloy::operator(3pm) - debian
template::alloy::tmpl(3pm) - debian
template::manual(3pm) - debian
template::stash::xs(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Introduction
Weird 'find' results
My first PERL incarnation... Audio Oscillograph