Extension of excel::template to use tt
use Excel::Template::Plus::TT; # this is most commonly used through # the Excel::Template::Plus factory my $template = Excel::Template::Plus::TT->new( template => 'greeting.tmpl', config => { INCLUDE => [ '/templates' ] }, params => { greeting => 'Hello' } ); $template->param(location => 'World'); $template->write_file('greeting.xls');
This is an engine for Excel::Template::Plus which replaces the standard Excel::Template template features with \s-1TT\s0. See the Excel::Template::Plus docs for more information.
This provides access to getting and setting the parameters, it behaves exactly like the standard \s-1CGI\s0.pm-style param method.
Returns the generated excel file.
Writes the generated excel file to $filename.
This will cleanup any temp files generated in the process.
Returns the metaclass.
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Stevan Little <[email protected]>
Copyright 2007-2010 by Infinity Interactive, Inc.
<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.