in reply to Re: creating hashes
in thread creating hashes

My suggestion indeed is to "use a hash of anon arrays...where 'bob', 'sally', 'sue' are entries 0, 1, 2 of teh anon array" and of course the anon array is the value linked to each key in your hash.

You therefore would need to de-reference the anon-array reference to get at the names. How you put these in your combo box is a bit beyond me. Personally, I would use two combo-boxes, one with your hash keys which, once you pick one entry, dynamically loads the names related to that key and puts them in the second combo-box. A clear case for an AJAX-empowered web-page if you ask me ;-)

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James