Thank you very much for writing this module and taking the time to read
this bug report. I'm on irc.perl.org if you would like to discuss.
The documentation for member_of doesn't match the implementation.
The documentation reads as follows:
---------------------------------------------------------
member_of => array
List of Unix group names that the user must be member of.
The first element will be used as the primary group. If a group doesn't
exist, it will be ignored.
If not specified, the default is one group having the same name as the
user. The group will be created if not already exists.
The code on line 156 always adds the username as a group regardless of
what is specified in the member_of ArrayRef.
---------------------------------------------------------
push @$member_of, $name unless $name ~~ @$member_of;
It's desirable for me to be able to add a user to an existing group and
not have that a group be created with the same name as that user.