package Contentment::Template; use strict; use warnings; our $VERSION = '0.11'; use Contentment::Template::Provider; use Template; =head1 NAME Contentment::Template - Setup Template Toolkit for use by Contentment =head1 SYNOPSIS use Contentment::Template; my %conf = ( TRIM => 1, INTERPOLATE => 1, EVAL_PERL => 1, ); my $tt = Contentment::Template->new_template(%conf); $tt->process(\$template, { foo => 'bar', baz => 'qux' }) or die $tt->error; =head1 DESCRIPTION This is a factory class for constructing Contentment compatible Template Toolkit template parsers. This may be used by your code to provide some custom templating. It was originally created to help facilitate the use of the L module and it's recommended use. The factory constructs an object of class L