in reply to Re^2: array of hash
in thread array of hash
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: array of hash
by carolw (Sexton) on May 27, 2014 at 11:18 UTC | |
by choroba (Cardinal) on May 27, 2014 at 11:26 UTC | |
|
Re^4: array of hash
by carolw (Sexton) on May 27, 2014 at 11:45 UTC | |
by choroba (Cardinal) on May 27, 2014 at 12:28 UTC | |
|
Re^4: array of hash
by carolw (Sexton) on May 27, 2014 at 12:37 UTC | |
by choroba (Cardinal) on May 27, 2014 at 12:42 UTC | |
|
Re^4: array of hash
by carolw (Sexton) on May 27, 2014 at 12:31 UTC | |
|
Re^4: array of hash
by carolw (Sexton) on May 27, 2014 at 12:51 UTC |