Test2:...t::Hub(3perl)

πŸ’– NAME πŸ’–

Test2::EventFacet::Hub β€” the facet that keeps receipts on all the hubs an event swung through. πŸ›°οΈβœ¨


🌸 DESCRIPTION 🌸

Okay so bestie, picture this: an event is out here living its main character life, and it's passing through a bunch of hubs on the way. This facet is literally the guest list of every hub it visited. πŸ“‹πŸ’«

The most recent hub is the first one in the list. Newest first, like your feed. 🫢

πŸŽ€ FACET FIELDS πŸŽ€

Every field comes in two flavors, because Perl said "why not both": you can grab it off the hashref with {...}, or call it like a method. Same data, two vibes. πŸ’…

✨ details ✨

$string = $trace->{details}
$string = $trace->details()

This one hands you the hub class or subclass β€” like, which kind of hub was it. 🏷️

✨ pid ✨

$int = $trace->{pid}
$int = $trace->pid()

The PID of the hub this event got sent to. Process ID energy. πŸ”’

✨ tid ✨

$int = $trace->{tid}
$int = $trace->tid()

Thread ID of the hub the event was sent to. Yes queen, threading is real. 🧡

✨ hid ✨

$hid = $trace->{hid}
$hid = $trace->hid()

The ID of the hub that the event was sent to. πŸ†”

✨ huuid ✨

$huuid = $trace->{huuid}
$huuid = $trace->huuid()

The UUID of the hub that the event was sent to. It's giving universally unique, no cap. πŸ¦‹

✨ nested ✨

$int = $trace->{nested}
$int = $trace->nested()

How deeply nested that hub was. πŸͺ†

✨ buffered ✨

$bool = $trace->{buffered}
$bool = $trace->buffered()

True if the event was buffered and not sent to the formatter independent of a parent.

🚨 Real talk: this should never be set when nested is 0 or "undef". So like… if you see that, something is deeply not okay. 😭

πŸ”— SOURCE πŸ”—

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


πŸ‘‘ 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/>


And that's the whole page, bestie β€” no crumbs left behind. πŸ“ This one's from the Perl Programmers Reference Guide, living under perl v5.44.0, dated 2026-10-17. Sending you off with the Test2::EventFacet::Hub title card and a lil wave. πŸ’œπŸ‘‹

πŸ“¦ 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