|Perl Monk, Perl Meditation|
Re: question about multi value hash keyby kyle (Abbot)
|on Mar 31, 2009 at 22:06 UTC||Need Help??|
I'm not quite clear on what you're trying to do. It sounds as if maybe you have more than one conference at a time, and you want to store them all under the same hash key.
I suggest that you work with hash references that contain all of the conference information in one hash.
You can take one of those and stick it in a hash of arrays (of hashes) or just have an array of them.
Then you can sort the array by time when you want to output them.
If you need random access to these records by time, then you can put them in a hash as you have them but add a layer of array to it.
Then you need an extra loop when dealing with them.
Again, I'm not clear from your description what you're trying to do, but maybe this gives you some ideas.