GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Template::Alloy::Play(3) User Contributed Perl Documentation Template::Alloy::Play(3)

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.

"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.

Paul Seamons <paul@seamons.com>

This module may be distributed under the same terms as Perl itself.
2021-03-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.