in reply to Hashes and arrows

A hash of hashes

$foo{bar}{bar} +=3; $foo{bar}->{bar} +=3;

TutorialsData Types and VariablesData Type: Hashreferences quick reference