${test.test1}
${test.test45}
${test.hello}
${test.world}
${test.bar}
Now update the assignment and repeat:
${test.test1}
${test.test45}
${test.hello}
${test.world}
${test.bar}
Now reassign the list and repeat:
${test.test1}
${test.test45}
${test.hello}
${test.world}
${test.bar}
${test.hash}
${test.test89}
${test.newhash.temp}
A test in the JSON notation:
${test.test1}
${test.test45}
${test.hello}
${test.world}
${test.bar}
${test.hash}
${test.test89}
${test.final}
Pathological case: zero item hash:
${test.test1}
Hash of number literals:
${test["1"]}
Hash of constants only:
${test["1"]}
${test.test45}
${test.test89}
${test.foo}
Hash of list literals:
${test["1"][0]}, ${test["1"][1]}
${test["2"][0]}, ${test["2"][1]}
${test["3"][0]}, ${test["3"][1]}
${test["4"][0]}, ${test["4"][1]}
Hash of hash literals:
${test["1"]["1"]}
${test["2"]["3"]}
${test["3"]["5"]}
${test["4"]["7"]}
List of hash literals:
${hash["1"]}
${hash["3"]}
${hash["5"]}
${hash["7"]}