# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #128059]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=128059 >
This works:
Code:
say ‘a’.&[leg]: ‘b’
Result:
Less
But this does not:
Code:
say &[leg] ‘a’: ‘b’
Result:
===SORRY!=== Error while compiling -e
Confused
at -e:1
------> say &[leg]⏏ ‘a’: ‘b’
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
Obviously, this is very important.