in reply to Re^8: trying to decide best data structure for problem at hand.
in thread trying to decide best data structure for problem at hand.
Yes. dub_hash is a hash. {$name} accesses an element in the hash, creating it if it didn't exist already.
{$name}{$uid} is shorthand for {$name}->{$uid} which implies the value accessed by $name is a hash reference. Again the hash element is generated if it didn't exist already.
= {...}; is an annonymous hash whose reference is assigned to the element accessed by {$name}{$uid}.
The result is a HoHoH - hash of hash of hash.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: trying to decide best data structure for problem at hand.
by mikejones (Scribe) on Jan 12, 2007 at 20:46 UTC |