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 whennestedis0or"undef".
Heads up bestie: thebufferedthing should never be set whennestedis0or"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 π
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
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms