in reply to Sorting by values doesn't work
It's good to copy-and-paste code examples so that you don't introduce other errors in the re-typing.foreach $k(sort {$match{$a}<=>$match{$b}} keys %match} ^ foreach $k(sort {$match{$a}<=>$match{$b}} keys %match) { }
|
|---|