%hash`$key
oops, you contradicted yourself here. "only be useable for \w+ keys"
I guess you disliked his idea so much you didn't bother to read what exactly he said, right?
"As with methods, a simple [...] scalar should be usable too"
This is of course natural.. many places in perl accept either a bareword or simple scalar, at least in p5.
You are repeating the errors of javascript. $0[15] != $0{15}
No, he spotted the issue in advance and suggested a solution already.
-- Matthijs van Duin -- May the Forth be with you!