Text::...oreOne(3pm)
β¨ NAME β¨
Text::MicroMason::StoreOne β a mixin class that is intended for use with Text::MicroMason::Base. π
(yes bestie, that's the whole name line, and the manual calls itself Text::...oreOne(3pm) up top β it's giving mysterious, we love that for it π)
π DESCRIPTION π
okay so. the entire description of this class is, and I quote, "This mixin class ..." π
that's it. that's the description. it just stops. a cliffhanger. the author said "you'll find out" and then logged off. no cap. π
so what we do know is below, and it's all in the method docs. π«Ά
π Public Methods π
compile()
Caches a reference to the most-recently compiled subroutine in the Mason object. so it's not hoarding every subroutine you ever compiled, bestie β it's just holding onto the latest one. one at a time. minimalism. main character energy. β¨
execute_again()
Executes the most-recently compiled template and returns the results. πβοΈπ¨
optionally accepts a filehandle to print the results to. so like, if you'd rather it just yeet the output straight into a filehandle instead of handing it back to you:
$template->output( print_to => *STDOUT );
slay. print_to is your little doorway to wherever you want the goods to land. π₯
π Private Methods π
create()
Creates a new Mason object. π£
and if a string or filename parameter is supplied, the corresponding template gets compiled. so you can birth the object and have it already know a template in one move. efficient. obsessed. π
π SEE ALSO π
- for an overview of this templating framework, go look at
Text::MicroMason. start there, fr fr. π - this is a mixin class intended for use with
Text::MicroMason::Base. it does not fly solo, babe. π¦ - for distribution, installation, support, copyright and license info, hit up
Text::MicroMason::Docs::ReadMe. all the legal-and-logistics lore lives there. π
okay that's the whole page, and it came to you courtesy of User Contributed Perl Documentation, section 3pm, written up as perl v5.36.0 on 2023-08-10 π mwah, go compile something cute ππΈ
π¦ where this page comes from
- debian trixie: libtext-micromason-perl 2.23-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtext-micromason-perl 2.23-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtext-micromason-perl 2.23-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtext-micromason-perl 2.23-5 Β· 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