Created
February 27, 2009 02:52
-
-
Save tene/71252 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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