DOKK / manpages / debian 12 / libset-scalar-perl / Set::Scalar::ValuedUniverse.3pm.en
Set::Scalar::ValuedUniverse(3pm) User Contributed Perl Documentation Set::Scalar::ValuedUniverse(3pm)

Set::Scalar::ValuedUniverse - universes for valued set members

Do not use directly.

There are only two guaranteed interfaces, both sort of indirect.

The first one is accessing the universe of a valued set:

    $valued_set->universe

This contains the members of the universe

    $valued_set->universe->members

of the $valued_set.

The second supported interface is displaying universes of valued sets.

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

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

Jarkko Hietaniemi <jhi@iki.fi>

2022-06-17 perl v5.34.0