This fixes [perl #35885] qw and x operators doesn't mix
p4raw-id: //depot/perl@24560
}
require './test.pl';
-plan(tests => 41);
+plan(tests => 42);
# compile time
}
is($y, 'abcdabcd');
}
+
+# [perl #35885]
+is( (join ',', (qw(a b c) x 3)), 'a,b,c,a,b,c,a,b,c', 'x on qw produces list' );
s = scan_str(s,FALSE,FALSE);
if (!s)
missingterm((char*)0);
+ PL_expect = XOPERATOR;
force_next(')');
if (SvCUR(PL_lex_stuff)) {
OP *words = Nullop;