only one entry (this is the case in cygwin).
p4raw-id: //depot/perl@10859
my %perfect;
my %seen;
+print "# where $where\n";
+
setgrent();
+
while (<GR>) {
chomp;
# LIMIT -1 so that groups with no users don't fall off
endgrent();
-if (keys %perfect == 0) {
+print "# max = $max, n = $n, perfect = ", scalar keys %perfect, "\n";
+
+if (keys %perfect < $n) {
$max++;
print <<EOEX;
#
my %perfect;
my %seen;
+print "# where $where\n";
+
setpwent();
+
while (<PW>) {
chomp;
# LIMIT -1 so that users with empty shells don't fall off
}
$n++;
}
+
endpwent();
-if (keys %perfect == 0) {
+print "# max = $max, n = $n, perfect = ", scalar keys %perfect, "\n";
+
+if (keys %perfect < $n) {
$max++;
print <<EOEX;
#