Skip to content

Commit da5a52a

Browse files
committed
Fix nbsp xtest issues
1 parent f49cadb commit da5a52a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/Language/5to6-nutshell.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ principle, but works the same in many situations.
654654
If you were using C«=>» in hash initialization, or in passing arguments to
655655
a sub that expects a hashref, then the usage is likely identical.
656656
657-
sub get_the_loot { ... }; # Perl 6 stub
657+
sub get_the_loot { ... }; # Perl 6 stub
658658
# Works in Perl 5 and Perl 6
659659
my %hash = ( AAA => 1, BBB => 2 );
660660
get_the_loot( 'diamonds', { quiet_level => 'very', quantity => 9 }); # Note the curly braces
@@ -726,7 +726,7 @@ scalar or list contexts:
726726
=item in list context C<x> repeats a list, but only if the left argument
727727
is parenthesized!
728728
729-
Perl 6 uses two different Repetition operators to achieve the above:
729+
Perl 6 uses two different Repetition operators to achieve the above:
730730
=item C<x> for string repetitions (in any context);
731731
=item C<xx> for list repetitions (in any context).
732732
@@ -850,7 +850,7 @@ loop using the C<.lines> method.
850850
=head3 C<do> C<while>/C<until>
851851
852852
=begin code :lang<perl5>
853-
# Perl 5
853+
# Perl 5
854854
do {
855855
...
856856
} while $x < 10;
@@ -864,7 +864,7 @@ The construct is still present, but C<do> was renamed to C<repeat>, to better
864864
represent what the construct does:
865865
866866
=begin code :preamble<no strict;>
867-
# Perl 6
867+
# Perl 6
868868
repeat {
869869
...
870870
} while $x < 10;

doc/Language/5to6-perlop.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ The following example shows the effects of all the above range operators
176176
(^5).list; # (0 1 2 3 4)
177177
=end code
178178
179-
In Perl 5, in scalar context, the operators C<..> and C<...> work
179+
In Perl 5, in scalar context, the operators C<..> and C<...> work
180180
as flip-flop operators, even if they are little-known and probably
181-
less used. Those operators have been replaced in Perl 6
181+
less used. Those operators have been replaced in Perl 6
182182
by L<ff|/routine/ff> and L<fff|/routine/fff> respectively.
183183
184184
=head2 Conditional Operator
@@ -187,8 +187,8 @@ The conditional operator C<? :> has been replaced
187187
by C<?? !!>:
188188
189189
=begin code
190-
$x = $ok ? $yes : $no; # Perl 5
191-
$x = $ok ?? $yes !! $no; # Perl 6
190+
$x = $ok ? $yes : $no; # Perl 5
191+
$x = $ok ?? $yes !! $no; # Perl 6
192192
=end code
193193
194194

0 commit comments

Comments
 (0)