GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NestedGroups::Member(3) User Contributed Perl Documentation NestedGroups::Member(3)

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

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

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

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.

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

perl(1), Set::NestedGroup

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'
1998-10-31 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.