Skip to content

Instantly share code, notes, and snippets.

@Ovid
Last active August 29, 2015 14:05
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 Ovid/8fd431ae2f047c5fb7f0 to your computer and use it in GitHub Desktop.
Save Ovid/8fd431ae2f047c5fb7f0 to your computer and use it in GitHub Desktop.
"=begin finish" hangs with perl6 version 2014.08-120-gbf1b4db built on MoarVM version 2014.08-36-g7938703
#!perl6
my @array = <a b c>; # array of words, delimited by space.
# Similar to perl5's qw, or Ruby's %w.
say @array[2]; # Array indices start at 0 -- This is the third element
say "Interpolate an array using [] : @array[]";
=begin finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment