NAME
Decl::Semantics::Template - implements a template
VERSION
Version 0.02
SYNOPSIS
Templates...
defines(), tags_defined()
Called by Decl::Semantics during import, to find out what tags this plugin claims to implement.
parse_body
The template has ambiguous callability. Parse_body probably isn't where to indicate it, though.
go
When called, Template writes to itself. By default, that propagates up the tree until an output handler is found.
express
The express
function is where the template is sent to a template engine. If a node is supplied for context, it's used as the value source; otherwise, the template itself is taken as the value source. A hashref can also be passed into the express call as a value source, or an arrayref of different sources to be queried one after the other.
AUTHOR
Michael Roberts, <michael at vivtek.com>
BUGS
Please report any bugs or feature requests to bug-decl at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Decl. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
LICENSE AND COPYRIGHT
Copyright 2010 Michael Roberts.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.