in reply to Mapping to an associative hash

Is perhaps a "hash of hashes" what you are looking for? I.e. you have a top-level hash which is keyed by the ID-number and which refers to another hash which has all the keys you mention.

If that fits your idea, have a look at perldoc perldsc which will explain it in full detail.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law