Perl6 的 lambda:
my &proc = -> $arg1, $arg2 { "pass in: $arg1 and $arg2"; }
say proc("test1", "test2");
# => 結果:
# pass in: test1 and test2
Perl6 的 Pointy Blocks:
my $x = -> $a, $b { say "First is: $a.  Second is: $b"; }
$x(6, 8);       
$x("test3", "test4");
# => 結果:
# First is: 6.  Second is: 8
# First is: test3.  Second is: test4
兩者是不是很像呢? XD
