Excel:...lus::TT(3pm)

πŸ“¦
version 0.06 Β· 2 versions
  • 0.06 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.06 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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-style param method. 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 2007-2014 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.


and that's a wrap bestie πŸŽ€ this page shipped as perl v5.34.0, dated 2022-06-13, under the manual name Excel:...lus::TT(3pm) β€” go forth and template, you absolute icon πŸ’…βœ¨
πŸ“¦ where this page comes from