diff --git a/doc/Language/5to6-nutshell.pod6 b/doc/Language/5to6-nutshell.pod6 index 058a2d38b..e442e26a5 100644 --- a/doc/Language/5to6-nutshell.pod6 +++ b/doc/Language/5to6-nutshell.pod6 @@ -637,10 +637,10 @@ The conditional operator C has been replaced by C: =for code :lang -my $result = ( $score > 60 ) ? 'Pass' : 'Fail'; # Perl 5 +my $result = $score > 60 ? 'Pass' : 'Fail'; # Perl 5 =for code :preamble -my $result = ( $score > 60 ) ?? 'Pass' !! 'Fail'; # Perl 6 +my $result = $score > 60 ?? 'Pass' !! 'Fail'; # Perl 6 =head2 C<.> (Dot) String Concatenation