---
name: "Set::NestedGroups::Member"
section: "3pm"
platform: "linux"
package: "libset-nestedgroups-perl"
version: "0.01-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Set::NestedGroups::Member"
---

# Set::NestedGroups::Member(3pm)

Set of nested groups

## NAME

Set::NestedGroup::Member - Set of nested groups

## SYNOPSIS

```
  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";
  }
```

## DESCRIPTION

Set::NestedGroup::Member objects are returns from a Set::NestedGroup object's **list()** method.

## METHODS

- rows ()

  Returns the number of rows this has. May be used to construct a loop to extract all the data.

- next ()

  Returns a list comprising of the next member & group. Returns undef when the list is exhausted.

## AUTHOR

Alan R. Barclay, gorilla@elaine.drink.com

## SEE ALSO

[**perl**(1)](/perl/1.md), Set::NestedGroup

## POD ERRORS

Hey! **The above document had some coding errors, which are explained below:**

- Around line 73:

  '=item' outside of any '=over'

- Around line 83:

  You forgot a '=back' before '=head1'
