Created
June 10, 2011 11:33
-
-
Save anonymous/1018654 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
pmichaud@kiwi:~/nom$ cat z | |
sub abc($x) { | |
if $x { return 'true' } | |
return 'false' | |
} | |
say abc(0); | |
say abc(1); | |
pmichaud@kiwi:~/nom$ ./perl6 z | |
false | |
true | |
pmichaud@kiwi:~/nom$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment