diff options
author | Peter Palfrader <peter@palfrader.org> | 2014-10-12 19:41:07 +0200 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2014-10-12 19:41:07 +0200 |
commit | 74533ea29279c82957b45c6af0083e344800a17c (patch) | |
tree | 0dcfb2bbdda5ec414fcbbd5f018d377aa32762b5 | |
parent | 4feb1f380a4e86b36a4ba6b6541ee6137ce1c52f (diff) |
Fix a comment that indicates what "say @array" will print.
We assigned 6 to @array[1] a few lines before, so say @array will print
"a 6 b", not "a 2 b".
-rw-r--r-- | perl6.html.markdown | 2 |
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). |