in reply to Re^2: hash of hashes and memory space...
in thread hash of hashes and memory space...

A "hash of hash" is really a "hash of references to hashes".
$h{foo}{bar} = 123;
is short for
$h{foo}->{bar} = 123;
and
${ $h{foo} }{bar} = 123;

Something to try:

my %a; my %b; $a{foo} = \%b; $a{foo}{bar} = 123; print("$b{bar}\n");