diff options
-rw-r--r-- | perl6.html.markdown | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl6.html.markdown b/perl6.html.markdown index d0ccdc9a..44960347 100644 --- a/perl6.html.markdown +++ b/perl6.html.markdown @@ -54,10 +54,11 @@ my $forced-bool = so $str; # And you can use the prefix `so` operator # which turns its operand into a Bool ``` -### Lists +### Arrays and Lists ```perl6 -# Lists represent multiple values. Their name start with `@`. +# Arrays represent multiple values. Their name start with `@`. +# Lists are similar but are an immutable type my @array = 'a', 'b', 'c'; # equivalent to : |