Bart is completely correct, but there is an organizing principle he didn't mention. The values in a hash must be scalars. To make a hash of arrays, the array values should have square braces to produce a reference. To make a hash of hashes, curlies.
Each case is based on the top hash value being a scalar.
After Compline,
Zaxo
In reply to Re: Nested (ARRAY|HASH)
by Zaxo
in thread Nested (ARRAY|HASH)
by narainhere
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |