use lib qw( . ); use MultiHash; my %hash_a; my %hash_b; tie %hash_a, "MultiHash"; tie %hash_b, "MultiHash"; $hash{ x } = \%hash_b; $hash{ x }{ y } = 10; $hash{ x }{ y };
In reply to Re: My code (I can't figure out how to implicitly recurse)
by perrin
in thread How to tie multilevel (multidimensional) hash?
by mikezone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |