# Parameters sub add1 ($a, $b) { return $a + $b } sub add2 (@values) { [+] @values } sub add3 (Int $a, Int $b) { return $a + $b } say add1("2", 2); # 4 say add2(1..5); # 1 + 2 + 3 + 4 + 5 = 15 say add3(2, 2); # 4 #say add3("2", 2); # (compile) error: Check failed