in reply to Re: Can't use string as a HASH ref
in thread Can't use string as a HASH ref

Sorry, applid is a typo, it's suppose to be id which i just changed in my post for better readability. If I sort according to your suggestion, would I not be sorting the keys (dates) by values contained within their arrays? I want to sort by the name of the key (date) itself, for example the $date value "05162014" should be sorted to come after "05152014". Thanks for your comments.

Replies are listed 'Best First'.
Re^3: Can't use string as a HASH ref
by kennethk (Abbot) on May 16, 2014 at 18:02 UTC

    Which is why you are supposed to post input data, so that we don't have to guess. See How do I post a question effectively?.


    #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.