Plagger::Template - Template Toolkit subclass for Plagger
From within a plagger plugin $self->templatize($file, $vars);
A subclass of Template Toolkit that's used by the Plagger plugins. As a plugin author, you really don't have to worry about this. See the documentation for Plagger::Pluggin's templatize method instead.
The plugin calls the custom new routine like so:
Plagger::Template->new($plagger_context, $self);
Essentially this subclass uses this to know where the templates are from the assets path.
It also does the right thing with encodings and utf8.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
See AUTHORS file for the name of all the contributors.
Except where otherwise noted, Plagger is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
http://plagger.org/, Template, http://tt2.org/
To install Plagger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plagger
CPAN shell
perl -MCPAN -e shell install Plagger
For more information on module installation, please visit the detailed CPAN module installation guide.