Jonathan Rockway > App-TemplateServer > App::TemplateServer::Provider::TT

Download:
App-TemplateServer-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  1
View/Report Bugs
Source  

NAME ^

App::TemplateServer::Provider::TT - Template Toolkit template provider for App::TemplateServer

SYNOPSIS ^

   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');

METHODS ^

These methods implement the App::TemplateServer::Provider role.

list_templates

render_template

syntax highlighting: