in reply to Re: Re: How to remove duplicate key/value pairs in hash of array
in thread How to remove duplicate key/value pairs in hash of array
So, instead of a hash of arrays, my suggestion is that you use a hash of hashes. When you want to get the list of ranks for a specific name, you would do: my @ranks = keys %{$HoH{$name}};
|
|---|