summaryrefslogtreecommitdiffhomepage
path: root/perl6.html.markdown
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2014-10-12 23:14:21 +0200
committerNami-Doc <vendethiel@hotmail.fr>2014-10-12 23:14:21 +0200
commit1583f0102ff31baf35c69cdbee81522514977bf3 (patch)
tree0dcfb2bbdda5ec414fcbbd5f018d377aa32762b5 /perl6.html.markdown
parent4feb1f380a4e86b36a4ba6b6541ee6137ce1c52f (diff)
parent74533ea29279c82957b45c6af0083e344800a17c (diff)
Merge pull request #804 from weaselp/master
Fix a comment that indicates what "say @array" will print.
Diffstat (limited to 'perl6.html.markdown')
-rw-r--r--perl6.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl6.html.markdown b/perl6.html.markdown
index ee27ff42..52625bc2 100644
--- a/perl6.html.markdown
+++ b/perl6.html.markdown
@@ -64,7 +64,7 @@ say "Interpolate an array using [] : @array[]";
my @keys = 0, 2;
@array[@keys] = @letters; # Assign using an array
-say @array; #=> a 2 b
+say @array; #=> a 6 b
# There are two more kinds of lists: Parcel and Arrays.
# Parcels are immutable lists (you can't modify a list that's not assigned).