Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 10, 2019 04:15
Show Gist options
  • Save Whateverable/e1aee0ea643627fefe79b38c68a0554b to your computer and use it in GitHub Desktop.
Save Whateverable/e1aee0ea643627fefe79b38c68a0554b 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/ykqxGv_NOa line 1
Died at:
Too many positionals passed; expected 1 argument but got 2
in sub sayLetter at /tmp/ykqxGv_NOa line 1
in block at /tmp/ykqxGv_NOa line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment