Yes, no issue on that, however the count has to be within the loop, as it performs a lookup over the %users hash. This is the most import piece, as it establishes the relationship.
if (defined $users{$conn1}) # search to check existing of conn to uid. { if ($num{$uid} > 1) { print "bad users"; ## user group add command. } }
In reply to Re^4: Hash Value via Data::Dumper
by johnrein55
in thread Hash Value via Data::Dumper
by johnrein55
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |