Decl::Semantics::Template - implements a template
Version 0.02
Templates...
Called by Decl::Semantics during import, to find out what tags this plugin claims to implement.
The template has ambiguous callability. Parse_body probably isn't where to indicate it, though.
When called, Template writes to itself. By default, that propagates up the tree until an output handler is found.
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.
express
Michael Roberts, <michael at vivtek.com>
<michael at vivtek.com>
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.
bug-decl at rt.cpan.org
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.
To install Decl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Decl
CPAN shell
perl -MCPAN -e shell install Decl
For more information on module installation, please visit the detailed CPAN module installation guide.