NAME
Sweet::File::Template;
SYNOPSIS
use Sweet::File::Template;
my $template = Sweet::File::Template->new(
dir => '/path/to/dir',
name => 'foo',
template_name => 'foo.tpl',
include_path => /path/to/template/dir'
);
$template->generate;
ATTRIBUTES
include_path
output
template_name
template_vars
PRIVATE ATTRIBUTES
_template
_template_config
METHODS
generate
Is a shortcut for
$template->process;
$template->write;