$curr{my}[2] = 'CD';
There's no hash under 2, only a string. So you can't access a hash. The solution is to build the structure correctly.
In reply to Re^5: array of hash
by choroba
in thread array of hash
by carolw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |