Re: Sort+print hashes of hashes

2001-06-25 Thread Michael Fowler
On Fri, Jun 22, 2001 at 05:25:13PM +0200, Remko Lems wrote: > for $File (reverse (sort {$All_Scores{$a}{Trimmed} cmp > $All_Scores{$b}{Trimmed}} keys %All_Scores)) { > InsertSortedEntries ($File, $All_Scores); > } [snip] > > > no > 11 > 10 > 01 > 00 > > > > That's not exact

Sort+print hashes of hashes

2001-06-25 Thread Remko Lems
Hi, I'm trying to sort and print the numerical and text values inside hashes of hashes. It's almost functioning correctly. elsif ($User_Choice =~ /^T/i) { for $File (reverse (sort {$All_Scores{$a}{Trimmed} cmp $All_Scores{$b}{Trimmed}} keys %All_Scores)) { InsertSortedEntries ($Fi