Data::Object::Template
Data-Object Template Class
use Data::Object::Template; my $template = Data::Object::Template->new; $template->render($string, $vars);
Data::Object::Template provides methods for rendering templates and encapsulates the behavior of Template::Tiny.
This package implements the following methods.
# given $template $template->BUILDPROXY(...); # ...
The BUILDPROXY method handles resolving missing-methods via autoloaded. This method is never called directly.
# given $template $template->origin(); # ...
The origin method returns the package name of the proxy used.
# given $source $template->source(); # Template::Tiny
The source method returns the underlying proxy object used.
# given $template $template->render($content, $variables); # ...
The render method renders the given template interpolating the given variables.
To install Data::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Object
CPAN shell
perl -MCPAN -e shell install Data::Object
For more information on module installation, please visit the detailed CPAN module installation guide.