# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #131932]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131932 >


The first example below evaluates the code block, while the two examples after 
it never do and return the block raw.

Is this by design?

<Zoffix_> m: &infix:<^^>(1, -> {say 2})
<camelia> rakudo-moar 2545e6: OUTPUT: «2␤»

<Zoffix_> m: 1 ^^ -> {say 2}
<camelia> rakudo-moar 2545e6: ( no output )
<Zoffix_> m: 0 ^^ -> {say 2}
<camelia> rakudo-moar 2545e6: ( no output )
Zoffix_> m: say (0 ^^ -> {say 2})
<camelia> rakudo-moar 2545e6: OUTPUT: «->  { #`(Block|72040712) ... }␤»

Reply via email to