From: Hal Fulton Date: 2006-08-21T20:09:23+09:00 Subject: Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings Martin DeMello wrote: > On 8/21/06, Bil Kleb wrote: > >> >> Sort of, but I liked the interface of Hash too much >> to abandon it. So far, I am carrying along an array >> of keys in order of creation for the one place that >> I need it. Otherwise, I have the beauty of the stock >> Hash interface at my disposal. > > > You can do this automatically (if you aren't already) by creating an > object that holds a hash and an array, defines []=, each and delete to > do the right thing, and delegates missing methods to the hash. There are any number of ways to do this sort of thing. But they all suffer from not having a convenient notation for literals. Hal