Can't use string ("CD") as a HASH ref while "strict refs" in use
Yes, that's the point you perhaps didn't fully understand. $cur{my}[2] is "CD", you can't dereference it as a hash under strict. Without strict, it's understood as symbol reference and the hash %CD is used, as I demonstrated in my original reply.
In reply to Re^3: array of hash
by choroba
in thread array of hash
by carolw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |