in reply to Size of hash of hashes
$a{a}{$_}++ foreach (0..5); print scalar keys %{ $a{a} }; [download]
-Mark