NAME
Excel::Template::TT - wrapper class for Excel::Template to using TT
SYNOPSIS
use Excel::Template::TT;
# some TT options
my $config = {
INTERPOLATE => 1,
EVAL_PERL => 1,
}
# set variables for replacement
my $vars = {
worksheet => [
{ name => $value1 },
{ name => $value2 },
{ name => $value3 },
],
};
# create object
my $template = Excel::Template::TT->new(
filename => 'sample.xml',
config => $config,
vars => $vars,
);
$template->write_file('sample.xls');
DESCRIPTION
This module is wrapper class for Excel::Template to using Template Toolkit.
AUTHOR
Taro Funaki <t@33rpm.jp>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as perl itself.