App::TemplateServer::Provider::TT - Template Toolkit template provider for App::TemplateServer
my $provider = App::TemplateServer::Provider::TT->new( docroot => ['/path/to/TT/templates'] ); my @templates = $provider->list_templates; my $foo = $provider->render_template('/what/ever/foo.tt');
These methods implement the App::TemplateServer::Provider role.
App::TemplateServer::Provider
To install App::TemplateServer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::TemplateServer
CPAN shell
perl -MCPAN -e shell install App::TemplateServer
For more information on module installation, please visit the detailed CPAN module installation guide.