$mldb{key}{subkey}[3] = 'stuff'; # won't work tmp = $mldb{key}; # retrieve value $tmp->{subkey}[3] = 'stuff'; $mldb{key} = $tmp; # store value
This limitation exists as a result of the Perl TIEHASH interface having no support for multidimensional ties. I wrote about this topic in a more general way in The importance of context in debugging.
In reply to Re: Re: using tie on hash of hashes
by rob_au
in thread using tie on hash of hashes
by gnu@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |