You don't need to build your own keys wtih perl's multidimensional array emulation:if ( defined ?attr1Hash{$attr1}){ my $key ="attr1.attr2.attr3"; $arrayRef = $fullHash{$key}; }
See perlvar$arrayRef = $fullHash{$attr1,$attr2,$attr3};
In reply to Re: Hash space/ time tradeoff
by runrig
in thread Hash space/ time tradeoff
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |