Text::...oreOne(3pm)

πŸ“¦
version 2.23 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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