in reply to Re: using tie on hash of hashes
in thread using tie on hash of hashes
$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.
|
|---|