there are parentheses; revert an experimental mod by Larry
in change#2038 that failed to parse %{{qw(a b c)}} properly
(this means C<map {use Foo; ...} ...> still needs a proper
fix)
p4raw-link: @2038 on //depot/perl:
834a4ddd8309fbf6aabbbc51bb6fcbe056e7963f
p4raw-id: //depot/perl@3744
|| (*t == '=' && t[1] == '>')))
OPERATOR(HASHBRACK);
if (PL_expect == XREF)
- PL_expect = XSTATE; /* was XTERM, trying XSTATE */
+ PL_expect = XTERM;
else {
PL_lex_brackstack[PL_lex_brackets-1] = XSTATE;
PL_expect = XSTATE;
TERM(sublex_start());
case KEY_map:
- LOP(OP_MAPSTART, XREF);
-
+ LOP(OP_MAPSTART, *s == '(' ? XTERM : XREF);
+
case KEY_mkdir:
LOP(OP_MKDIR,XTERM);