I have the data about 100 individuals each with the first name, middle name, last name, age, sex, and location.
I was wondering if I can read it into a hash with two keys (first and the middle name used as the key of the hash) and the values of the hash to be the rest of the data (age, sex, location)
I read about hashes in a perl book but I have seen only the key to be one variable. The reason I am looking for this is because so may records have the same first name so I can not use the first name as the key. Can a hash have two keys instead of one key for each record? If yes, how can this be done? Your help is greatly appreciatedIn reply to question on Hashes by kayj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |