diff options
author | ven <vendethiel@hotmail.fr> | 2015-11-20 08:10:40 +0100 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2015-11-20 08:10:40 +0100 |
commit | 1421373f87b13f6c2172f9ff5a9e4ddd2fa2cf2d (patch) | |
tree | 44c639946725482d2da9260b49360906fe119e4e /perl6.html.markdown | |
parent | 9e4274f7c79d89e0069637f867f860a702a72e51 (diff) | |
parent | dff8b792c6ba946302af52e3fba113e8364ea214 (diff) |
Merge pull request #2033 from kirbyfan64/kirbyfan64-patch-1
Fix typo in Perl 6 example (closes #2025)
Diffstat (limited to 'perl6.html.markdown')
-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 9f55718c..1829f964 100644 --- a/perl6.html.markdown +++ b/perl6.html.markdown @@ -373,7 +373,7 @@ say @array[^10]; # you can pass arrays as subscripts and it'll return say join(' ', @array[15..*]); #=> 15 16 17 18 19 # which is equivalent to: say join(' ', @array[-> $n { 15..$n }]); -# Note: if you try to do either of those with an infinite loop, +# Note: if you try to do either of those with an infinite array, # you'll trigger an infinite loop (your program won't finish) # You can use that in most places you'd expect, even assigning to an array |