in reply to Re: Re: using quotes in hash keys
in thread using quotes in hash keys

If anyone had the official "lex" specification for hash keys, it would be very enlightening. A "valid" string is probably a broader definition then my very conservative "safe" string specification.

Update:
I am implying that this would be found in the Perl source code (in a .lex file, perhaps?)

Replies are listed 'Best First'.
Re: Re^3: using quotes in hash keys
by John M. Dlugosz (Monsignor) on Jul 08, 2001 at 21:19 UTC
    You could look in the Perl source code. Testing whether a bareword is not a warning/error is probably not in the grammar, though, but in logic applied later.