On Mon, 15 Apr 2002 15:50:39 -0500, [EMAIL PROTECTED] (David
Henderson) wrote:

> {} doesn't auto-quotify

It does in the context you mentioned -- hash keys. If Perl(5) can tell
it's a hash, then it'll auto-quote barewords inside. (Which is why you
have to say, for example, $foo{+shift} or $bar{USERNAME()} if you want
to use built-in funcs or 'use constant' declared constants.)

Cheers,
Philip

Reply via email to