in reply to help with lists

You might be interested in hashes. That will to the job. Really, this is a true RTFM question, and this is the first time ever I use that word.