in reply to Sorting by the value of the inner hash
I'm going to suggest you do the following:
- Provide a sample of real data you're feediing into this chunk of code
- Provide the actual results you're getting
- Provide the precise results you expected to get
That aside, is it possible that $totalscoreinv{$key1}{key2} is supposed to be $totalscoreinv{$key1}{$key2}?
_______________
DamnDirtyApe
Those who know that they are profound strive for clarity. Those who would like to seem profound to the crowd strive for obscurity. --Friedrich Nietzsche
In Section
Seekers of Perl Wisdom