Tree::Template::Declare::HTML_Element - adaptor for HTML::Element
version 0.7
See Tree::Template::Declare.
This module will build trees using HTML::Element.
To create text nodes, you would be forced to say:
node { name '~text'; attribs text => 'some text'; }
which is too cumbersone. You can instead use:
text_node 'some text';
HTML::Element's deobjectify_text method will be called by finalize_tree before returning the tree object.
deobjectify_text
finalize_tree
Gianni Ceccarelli <dakkar@thenautilus.net>
This software is copyright (c) 2015 by Gianni Ceccarelli <dakkar@thenautilus.net>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Tree::Template::Declare, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tree::Template::Declare
CPAN shell
perl -MCPAN -e shell install Tree::Template::Declare
For more information on module installation, please visit the detailed CPAN module installation guide.