Skip to content

Instantly share code, notes, and snippets.

@tene
Created February 27, 2009 02:52
Show Gist options
  • Save tene/71252 to your computer and use it in GitHub Desktop.
Save tene/71252 to your computer and use it in GitHub Desktop.
[sweeks@kweh rakudo]$ ./perl6
> multi bar (@a where [*,2,3]) { say "by jove" }
> multi bar (@a) { say "bad luck" }
> bar([1,1,1])
bad luck
> bar([1,2,3])
by jove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment