NAME
Excel::Template::Plus::TT - Extension of Excel::Template to use TT
SYNOPSIS
# 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'
);
DESCRIPTION
This is an engine for Excel::Template::Plus which replaces the standard Excel::Template template features with TT. See the Excel::Template::Plus docs for more information.
METHODS
Accessors
Excel::Template compat methods
- params ($name | $name = $value)>
-
This provides access to getting and setting the parameters, it behaves exactly like the standard CGI.pm-style param method.
- output
-
Returns the generated excel file.
- write_file ($filename)
-
Writes the generated excel file to
$filename
.
Housekeeping
BUGS
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.
ACKNOWLEDGEMENTS
AUTHOR
Stevan Little <stevan@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2007-2014 by Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.