-
-
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
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
#!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