in reply to Re^3: Sorting an array of hashes by a value of hash
in thread Sorting an array of hashes by a value of hash
Wow, thanks for the detailed explantion, Dave. I sort of understand what you've done and managed to get it (option 3) to work in my code. I also got it to put the undefined ones with the low priority (high number) jobs by swapping the a and b in the first cmp, which is exactly what I needed. Who needs experts-exchange.com when you have wise monks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Sorting an array of hashes by a value of hash
by davido (Cardinal) on Apr 14, 2011 at 17:28 UTC |