Excel:...lus::TT(3pm)
β¨ NAME β¨
Excel::Template::Plus::TT β it's the glow-up of Excel::Template that lets it use TT π (and yes bestie, this whole page lives under the manual name Excel:...lus::TT(3pm), you're in the right place π«Ά)
πΈ SYNOPSIS πΈ
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');
okay so that's the whole vibe, look at her go ππ
π¦ DESCRIPTION π¦
So basically this is an engine for Excel::Template::Plus β it takes the standard Excel::Template template features and straight up replaces them with TT. That's it, that's the serve β¨
If you want the full tea, go read the Excel::Template::Plus docs, they've got all the extra info you could possibly need π
π METHODS π
π Accessors
configβ the config, bestie πtemplateβ the template, iconic β¨template_classβ the template class, she's giving class πparamsβ the params, no cap πΈ
π« Excel::Template compat methods
params ($name | $name = $value)>β this one hands you access to getting and setting the parameters, and it behaves exactly like the standard CGI.pm-styleparammethod. fr fr, identical energy π«Άoutputβ returns the generated excel file. that's it, that's the gift πwrite_file ($filename)β writes the generated excel file out to$filename. slay π
π§ Housekeeping
DEMOLISHβ this will cleanup any temp files generated in the process. not her leaving a mess behind, we love a tidy queen π§Ήβ¨metaβ returns the metaclass. very meta of her, honestly π
π BUGS π
ngl, 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. do it for the culture π
π ACKNOWLEDGEMENTS π
This module was inspired by Excel::Template::TT. shoutout to the inspo, periodt π
β AUTHOR β
Stevan Little <stevan@cpan.org> β the main character of this whole file π
π 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.
and that's a wrap bestie π this page shipped asperl v5.34.0, dated2022-06-13, under the manual nameExcel:...lus::TT(3pm)β go forth and template, you absolute icon π β¨
π¦ where this page comes from
- debian bookworm: libexcel-template-plus-perl 0.06-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libexcel-template-plus-perl 0.06-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libexcel-template-plus-perl 0.06-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libexcel-template-plus-perl 0.06-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libexcel-template-plus-perl 0.06-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms