Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 10, 2019 04:22
Show Gist options
  • Save Whateverable/77ce589b9faf63c938ff01de4d113551 to your computer and use it in GitHub Desktop.
Save Whateverable/77ce589b9faf63c938ff01de4d113551 to your computer and use it in GitHub Desktop.
evalable6
my @a = 'a'..'g'; @a = @a Z (whee => True) xx @a.elems; sub sayLetter($a, :$whee) { say "$a, $whee" }; @a.race.map({ sayLetter(|$_) })
(exit code 1)
A worker in a parallel iteration (hyper or race) initiated here:
in block <unit> at /tmp/vpj8IKHYuu line 1
Died at:
Too many positionals passed; expected 1 argument but got 2
in sub sayLetter at /tmp/vpj8IKHYuu line 1
in block at /tmp/vpj8IKHYuu line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment