Nested...Member(3pm)
π Set::NestedGroup::Member β the whole vibe π
okay bestie, so this is Nested...Member(3pm) from the User Contributed Perl Documentation, and it's literally a tiny little page but it's iconic and we're gonna go through it together, no cap.
β¨ NAME β¨
Set::NestedGroup::Member β it's a Set of nested groups. that's the whole summary, short and sweet, she said what she said π
πΈ SYNOPSIS πΈ
here's you, living your best life, using it:
use Set::NestedGroup;
$acl = new Set::NestedGroup;
$acl->add('user','group');
$acl->add('group','parentgroup');
$list=$acl->list();
for(my $i=0;$i<$list->rows();$i++){
my ($member,$group)=$list->next();
print "$member=$group\n";
}
see how she pops out a $list and then you just loop over it row by row? chef's kiss π«Ά
π DESCRIPTION π
so here's the tea: Set::NestedGroup::Member objects are what you get handed back from a Set::NestedGroup object's list() method. that's it. that's the job. she's a little member-record girlie and she serves β¨
π METHODS π
rows ()
returns the number of rows this has. lowkey the most useful thing ever β you use it to construct a loop so you can extract all the data. go get your data bestie π¦
next ()
returns a list comprising of the next member & group. returns undef when the list is exhausted π she's done, she's tired, there's nothing left to give. respect the undef.
π AUTHOR π
Alan R. Barclay, gorilla@elaine.drink.com β absolute legend, wrote this whole thing π
π SEE ALSO π
perl(1)Set::NestedGroup
iykyk, go read those next π
π POD ERRORS π
okay so hey! the above document had some coding errors, and they are explained below. not me snitching on the POD, but here we are π
Around line 73:
'=item' outside of any '=over'
Around line 83:
You forgot a '=back' before any '=head1'
fr fr, fix your POD bestie, the parser is crying π
and that's the whole page, we ate and left no crumbs π
this was perl v5.36.0, dated 2022-10-15, and yeah the manual page name really is Nested...Member(3pm) with the ellipsis and everything β don't ask, just vibe with it πβ¨
π¦ where this page comes from
- ubuntu noble: libset-nestedgroups-perl 0.01-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libset-nestedgroups-perl 0.01-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libset-nestedgroups-perl 0.01-5 Β· Artistic-1.0-Perl OR 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