@@ -654,7 +654,7 @@ principle, but works the same in many situations.
654
654
If you were using C « => » in hash initialization, or in passing arguments to
655
655
a sub that expects a hashref, then the usage is likely identical.
656
656
657
- sub get_the_loot { ... }; # Perl 6 stub
657
+ sub get_the_loot { ... }; # Perl 6 stub
658
658
# Works in Perl 5 and Perl 6
659
659
my %hash = ( AAA => 1, BBB => 2 );
660
660
get_the_loot( 'diamonds', { quiet_level => 'very', quantity => 9 }); # Note the curly braces
@@ -726,7 +726,7 @@ scalar or list contexts:
726
726
= item in list context C < x > repeats a list, but only if the left argument
727
727
is parenthesized!
728
728
729
- Perl 6 uses two different Repetition operators to achieve the above:
729
+ Perl 6 uses two different Repetition operators to achieve the above:
730
730
= item C < x > for string repetitions (in any context);
731
731
= item C < xx > for list repetitions (in any context).
732
732
@@ -850,7 +850,7 @@ loop using the C<.lines> method.
850
850
= head3 C < do > C < while > /C < until >
851
851
852
852
= begin code :lang<perl5>
853
- # Perl 5
853
+ # Perl 5
854
854
do {
855
855
...
856
856
} while $x < 10;
@@ -864,7 +864,7 @@ The construct is still present, but C<do> was renamed to C<repeat>, to better
864
864
represent what the construct does:
865
865
866
866
= begin code :preamble<no strict;>
867
- # Perl 6
867
+ # Perl 6
868
868
repeat {
869
869
...
870
870
} while $x < 10;
0 commit comments