Created
February 5, 2019 14:42
Star
You must be signed in to star a gist
evalable6
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
| sub nlst(UInt :$p, :@lst) {say @lst[$p]}; my @arg = [[0,2,3],[1,4]]; nlst(:n(0), @arg); pop(@arg); nlst(:n(0), $arg) |
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
| (exit code 1) | |
| ===SORRY!=== Error while compiling /tmp/6cLLj22r29 | |
| Variable '$arg' is not declared. Did you mean '@arg'? | |
| at /tmp/6cLLj22r29:1 | |
| ------> st(:n(0), @arg); pop(@arg); nlst(:n(0), ⏏$arg) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment