NAME
HPCI::Template - This role gives the consumer a simple templating engine
DESCRIPTION
Provides a method render_template_to_file that writes a target file, using a Text::Xslate template file to define the content.
Attributes
template_search_paths - array of directory strings to search for template files
_template_renderer - (internal) A Text::Xslate instance.
Methods
render_template_to_file - generate a file from a template
Usage: $object->render_template_to_file( template_name => "file.template", output_file_path => "myfile.out", rendering_variables => { foo => "foo value", bar => [ qw(bar has a bunch of values ...) ], }, );