no, but there is an opposite issue if key is a sub or a constant .
you'll need $hash{ key() } or $hash{ (key) } then.
not really a problem for me, YMMV.
> I always quote it unless the key is non-constant.
I don't understand.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Quoting hash keys
by LanX
in thread Quoting hash keys
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |