Hello Monks,
Below is from perlfaq4:
Question is the thing used in push is array of hashes or hash of array? How do we recognize such structure? Is there any thumb rule?
while (($key, $value) = each %by_key) {
push @{$key_list_by_value{$value}}, $key;
}