Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zoffixznet

zoffixznet/p6.p6 Secret

Created March 1, 2017 20:03
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 zoffixznet/737ba0148c1818b22cd326189cce19b8 to your computer and use it in GitHub Desktop.
Save zoffixznet/737ba0148c1818b22cd326189cce19b8 to your computer and use it in GitHub Desktop.
multi MAIN (*@ ('origin', $o)) { say "origin is $o"; }
multi MAIN (*@ ('power', $power)) { say $power > 9000 ?? "good power" !! "bad power"; }
multi MAIN (*@ ('meows', $what)) { say "😹 says $what" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment