Skip to content

Instantly share code, notes, and snippets.

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