Skip to content

Instantly share code, notes, and snippets.

@colomon
Created October 15, 2014 20:50
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 colomon/f2672ed9a2cbb6eecdd5 to your computer and use it in GitHub Desktop.
Save colomon/f2672ed9a2cbb6eecdd5 to your computer and use it in GitHub Desktop.
my @a := do for 1..20 {
.say;
$_ ** 2;
}
say @a[3];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment