Re: Preserve order in a HoH

2005-03-10 Thread Ing. Branislav Gerzo
Harald Ashburner [HA], on Friday, March 11, 2005 at 15:26 (+1100) thinks about: HA> Other solutions that come to mind are: HA> create a separate data structure with the {order => key, etc HA> so I would access the strurcture with the data in it by iterating HA> through the order datastructure. Th

Re: Preserve order in a HoH

2005-03-10 Thread mgoland
- Original Message - From: Harald Ashburner <[EMAIL PROTECTED]> Date: Thursday, March 10, 2005 11:26 pm Subject: Preserve order in a HoH > Greetings, Hello > > I've created a complicated structure using autovification that is > essentially a hash of hash of h

Re: Preserve order in a HoH

2005-03-10 Thread Marco Antonio Manzo
On Fri, 2005-03-11 at 15:26 +1100, Harald Ashburner wrote: > Greetings, > > I've created a complicated structure using autovification that is > essentially a hash of hash of hash of hash etc. > > I pass them to the template toolkit where I can get them all out and > put them in the right place on

Re: Preserve order in a HoH

2005-03-10 Thread Chris Devers
On Fri, 11 Mar 2005, Harald Ashburner wrote: > Is there an easy way to note and preserve ordering in a hash? No. The whole point of a hash is store things in a random order that is distributed evenly and that the computer can look up quickly. A hash is, almost by definition, an unordered mappin

Preserve order in a HoH

2005-03-10 Thread Harald Ashburner
Greetings, I've created a complicated structure using autovification that is essentially a hash of hash of hash of hash etc. I pass them to the template toolkit where I can get them all out and put them in the right place on the page. This all worked well and nicely. The late mail is that the re