TEST2::EVENTFACET::RENDER(3perl)

πŸ’– NAME πŸ’–

Test2::EventFacet::Render β€” it's the facet that decides how an event gets rendered, bestie. Literally the glow-up filter for your test output. ✨


πŸŽ€ DESCRIPTION πŸŽ€

Okay so listen. This facet is what tells the standard test2 rendering tools how an event should be shown off. And here's the tea: if this facet is present, then ONLY what it specifies gets rendered. That's it. Nothing else. Periodt. πŸ’…

So the vibe is β€” anything important or note-worthy better be in here, because no other facets will even be considered for rendering or display. They're giving background dancer energy. Nobody's looking at them. 😭

Also it's a list type facet, which means you can stack as many items in there as you need. Add one, add twelve, whatever, she's flexible. πŸ¦‹


🌸 FIELDS 🌸

  • $string = $render->[#]->{details}
  • $string = $render->[#]->details()

The human readable text you actually want on screen. This is the main character of the whole facet, ngl. πŸ‘‘

  • $string = $render->[#]->{tag}
  • $string = $render->[#]->tag()

A tag that prefixes / identifies the main text. Like a little name badge so you know who's talking. πŸŽ€

  • $string = $render->[#]->{facet}
  • $string = $render->[#]->facet()

Optional! If the display text was generated from another facet, put that facet's name here so everybody knows where it came from. Credit where credit's due. 🫢

  • $mode = $render->[#]->{mode}
  • $mode = $render->[#]->mode()

Two possible moods, and yes she contains multitudes:

  • calculated β€” means the facet was generated from another facet. Calculated facets may be cleared and regenerated whenever the event state changes. She's a shapeshifter, lowkey. πŸ”„
  • replace β€” means the facet is intended to replace the normal rendering of the event. Not a supporting role. She is the show. 🎬

🌈 SOURCE 🌈

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go be nosy, it's fine. πŸ‘€


🧚 MAINTAINERS 🧚

Chad Granum <exodist@cpan.org>


πŸ’œ AUTHORS πŸ’œ

Chad Granum <exodist@cpan.org>


Copyright Chad Granum <exodist@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <https://dev.perl.org/licenses/>


okay bestie that's the whole page, no notes πŸ’… β€” this was perl v5.44.0, dated 2026-10-17, from Test2:...:Render(3perl), and I'm obsessed with her fr fr 🌸✨

πŸ“¦ where this page comes from
  • arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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