is short for$h{foo}{bar} = 123;
and$h{foo}->{bar} = 123;
${ $h{foo} }{bar} = 123;
Something to try:
my %a; my %b; $a{foo} = \%b; $a{foo}{bar} = 123; print("$b{bar}\n");
In reply to Re^3: hash of hashes and memory space...
by ikegami
in thread hash of hashes and memory space...
by bcarroll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |