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!

  • Comment on Re^4: Sorting an array of hashes by a value of hash

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

    Glad it worked out for you. I thought perhaps my followup got lost in the shuffle and didn't end up getting through to you in time to impact your solution.


    Dave