in reply to Re: Unquoted hash slice keys with use strict 'subs'
in thread Unquoted hash slice keys with use strict 'subs'

You might be right - I have no knowledge of the complexities of the parse order - but I would have thought that the comma would not be unexpected because of the @ sigil. Surely, knowing that the clause inside the curley braces is in list context it would be expecting a list, a comma shouldn't come as any surprise.
The error message reports three bare words, so it knows what the comma is and it recognises them as a list, it seems though it ignores the sigil and the braces.
  • Comment on Re^2: Unquoted hash slice keys with use strict 'subs'

Replies are listed 'Best First'.
Re^3: Unquoted hash slice keys with use strict 'subs'
by JavaFan (Canon) on Oct 14, 2009 at 11:57 UTC
    It may know what the comma is, it doesn't know what follows the comma.