Excel::Template::TT - wrapper class for Excel::Template to using TT
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');
This module is wrapper class for Excel::Template to using Template Toolkit.
Taro Funaki <t@33rpm.jp>
This library is free software; you can redistribute it and/or modify it under the same terms as perl itself.
Excel::Template::TT, Template
To install Excel::Template::TT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Excel::Template::TT
CPAN shell
perl -MCPAN -e shell install Excel::Template::TT
For more information on module installation, please visit the detailed CPAN module installation guide.