I've got some code which builds up a hash of hashes. If all is well then the secondary hash should have two entries, otherwise I need to report the error.
So far my code looks like
What should go in the ???? bit please?
Ceci n'est pas une signature
Columb Healy
So far my code looks like
Code:
my %users;
# each entry $users{$user} should look like { host1 => uid1, host2 => uid2 }
foreach my $user ( %users )
{
if ( scalar keys %{$users{$user}} == 1 )
{
print "$user is only registered on one host - ?????\n";
next;
}
}
What should go in the ???? bit please?
Ceci n'est pas une signature
Columb Healy