Thanks! getgrgid was the function I needed:
my $gid = getgrnam $group; my @members = split ' ', (getgrgid $gid)[-1];
I now see where getgrgid is in the function manual, perlfunc(1). I'll have to read through that section until I get it.
In reply to Re^2: Listing system group members
by mldvx4
in thread Listing system group members
by mldvx4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |