Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 5, 2019 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/e497671c1ebe4be3cb6069d24f898e5b to your computer and use it in GitHub Desktop.
Save Whateverable/e497671c1ebe4be3cb6069d24f898e5b to your computer and use it in GitHub Desktop.
evalable6
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)
(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