http://qs321.pair.com?node_id=647988


in reply to Nested (ARRAY|HASH)

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