Set::S...niverse(3pm)

πŸ“¦
version 1.29 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’« Set::Scalar::Universe β€” universes for set members πŸ’«

okay so this is Set::Scalar::Universe, a page from the User Contributed Perl Documentation, and bestie, it is short but it is important. It's literally about universes for set members. That's the whole vibe. ✨


πŸ¦‹ NAME πŸ¦‹

Set::Scalar::Universe β€” universes for set members πŸͺ


🌸 SYNOPSIS 🌸

Do not use directly.
not me telling you to NOT use something in the synopsis πŸ’€ fr fr, this is not the module you call up on a Friday night. It's an internal bestie.

πŸŽ€ DESCRIPTION πŸŽ€

There are only two guaranteed interfaces here, and honestly? both of them are sort of indirect. lowkey shy. highkey useful. πŸ™ˆ

The first one is accessing the universe of a set:

$set->universe

This contains the members of the universe

$set->universe->members

of the $set. ✨ so like, you ask the set for its universe, then you ask that universe for its members, and boom, that's the crew.

The second supported interface is displaying set universes.

print $set->universe, "\n";

This will display the members of the set inside square brackets: [], as opposed to sets, which have their members shown inside parentheses: (). πŸ’…

so if you ever see [] you're looking at a universe, and if you see () you're looking at a plain old set. that's the whole visual difference check. no cap. πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Jarkko Hietaniemi <jhi@iki.fi> 🫢


okay that's the whole page bestie, it's giving short and iconic πŸ’– this was perl v5.34.0, dated 2022-06-17, and it lives in the User Contributed Perl Documentation. mwah, bye! πŸŽ€πŸŒˆβ­

πŸ“¦ where this page comes from