Tie::ListKeyedHash is a Perl module that helps you to use lists as the keys for multi-level hashes. This is an ideal script when you need to parse tree generation and other similar tasks, where you need to create very deep trees or the tree depth is not known in advance. This also allows the use of arrays as the key to a hash. This gives you the flexibility of an array in assembling a hash key. |