in reply to Re^4: array of hash
in thread array of hash

It's simple.
$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.

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ