Test2::...et::Hub(3pm)

πŸ’– NAME πŸ’–

<lime>okay so</lime> bestie, you’re looking at Test2::EventFacet::Hub β€” yes, the Test2::EventFacet::Hub(3pm) page from the Perl Programmers Reference Guide β€” and it’s literally the facet for the hubs an event passes through. iconic πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

These are a record of the hubs an event passes through. And the ordering? The most recent hub is the first one in the list. no cap, that’s the whole vibe. ✨

πŸŽ€ FACET FIELDS πŸŽ€

Every field has a hash-key version and a method version, both shown exactly like this:

  • $string = $trace->{details} / $string = $trace->details() β€” the hub class or subclass. obsessed with a clean class name.
  • $int = $trace->{pid} / $int = $trace->pid() β€” PID of the hub this event was sent to. process energy.
  • $int = $trace->{tid} / $int = $trace->tid() β€” the thread ID of the hub the event was sent to. thread vibes, fr fr.
  • $hid = $trace->{hid} / $hid = $trace->hid() β€” the ID of the hub that the event was send to. yep, that’s the wording β€” we keep it. 😭
  • $huuid = $trace->{huuid} / $huuid = $trace->huuid() β€” the UUID of the hub that the event was sent to. UUID slay.
  • $int = $trace->{nested} / $int = $trace->nested() β€” how deeply nested the hub was. nesting realness.
  • $bool = $trace->{buffered} / $bool = $trace->buffered() β€” true if the event was buffered and not sent to the formatter independent of a parent. Important caveat: this should never be set when nested is 0 or "undef".
Heads up bestie: the buffered thing should never be set when nested is 0 or "undef". That’s a hard vibe check, not a suggestion. πŸ’€

🌈 SOURCE 🌈

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. go look, it’s giving open source main character energy. 🌸

πŸ‘‘ MAINTAINERS πŸ‘‘

Chad Granum <exodist@cpan.org> β€” that’s the maintainer. respectfully, an icon.

🌸 AUTHORS 🌸

Chad Granum <exodist@cpan.org> β€” author too. same name, same legend.

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 that’s the whole page, bestie 🫢 β€” Test2::EventFacet::Hub(3pm) from the Perl Programmers Reference Guide, brought to you by perl v5.42.3, dated 2026-11-03. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from