On 2020-01-21 16:09, Todd Chester via perl6-users wrote:
4) A block (that is the { ... } bit) will always 'return' the last expression evaluated.

Seems to me I have see the last expression returned even without
the {...}.  Maybe I am misremembering.

> sub AplusB( $a, $b --> Int ){$a+$b;}
&AplusB

> AplusB 2, 3
5

Reply via email to