Dave K wrote:
Ed, A 'cleaner' approach.
That is a good way to put things, I was hoping to move in this direction once i had a better idea of what the actual data was rather than dealing in delicacies ;-).The central (as opposed to key) point: In the expression: $hash{$ohk}->{$ihk} $hash{$ohk} is the _value_ of a hash, but that _value_ is a reference to a hash, so we can use the '->' syntax. Think of: $hash{$ohk}-> as identifying that (pesky anonymous) hash for us. Then the {$ihk} simply identifies the value of that hash we want to print. HTH
The good thing to know is once you *get* ref's you pretty much got'em, and you can move into just about anything after *getting* them.
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]