Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created May 2, 2019 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/b732dc47a3f728dcbd4b3c91c1b945c8 to your computer and use it in GitHub Desktop.
Save Whateverable/b732dc47a3f728dcbd4b3c91c1b945c8 to your computer and use it in GitHub Desktop.
evalable6
sub postfix:<¥>($map) {$map.grep(*.value.defined)} sub named(:$name = 'Jon') {say $name // 'Jane'}; sub caller(:$name) {named(|%(:$name)¥)}; caller();
(exit code 1)
===SORRY!=== Error while compiling /tmp/HWnSP4HQBB
Strange text after block (missing semicolon or comma?)
at /tmp/HWnSP4HQBB:1
------> x:<¥>($map) {$map.grep(*.value.defined)}⏏ sub named(:$name = 'Jon') {say $name //
expecting any of:
infix
infix stopper
statement end
statement modifier
statement modifier loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment