Created
July 1, 2011 02:56
-
-
Save anonymous/1057784 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 abc | |
sub abc(@a) { | |
nqp::say(pir::is_container__IP(@a)); | |
} | |
my @b = 1..5; | |
nqp::say(pir::is_container__IP(@b)); | |
abc(@b); | |
pmichaud@kiwi:~/nom$ ./perl6 abc | |
0 | |
1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment