App::TemplateServer::Provider::Filesystem - role for templating systems that get templates from the filesystem


NAME

App::TemplateServer::Provider::Filesystem - role for templating systems that get templates from the filesystem (TT, Mason, etc.)


METHODS

list_templates

This method returns the template list by visiting each docroot (recursively), and returning a list of regular files. This is what most template systems will want to do.


ATTRIBUTES

This role provides the following attributes:

docroot

This is an arrayref of directories where the templates that you are "providing" are located.


SEE ALSO

the App::TemplateServer::Provider manpage

 App::TemplateServer::Provider::Filesystem - role for templating systems that get templates from the filesystem