The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

App::TemplateServer::Provider