in reply to Re^4: Time to seconds
in thread Time to seconds

I saw a sorted hash pm somewhere, either in the examples for tie or maybe in Conway's book.

Replies are listed 'Best First'.
Re^6: Time to seconds
by Aristotle (Chancellor) on Nov 16, 2001 at 17:39 UTC
    That would be implemented as a tied hash which only looks like a one, but really is an object.
      Correct.

      It contains a list, where it notes the desired ordering, and a hash, where it really stores everything. If memory serves, the object was an array of two elements, presented as a pseudohash.

      --John