The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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