Skip to content

Commit 35c5c94

Browse files
authored
Merge pull request #2243 from MorayJ/sentence-case-follow
Fixes missed and doubtful sentence cases on Language docs Thanks!
2 parents c7d08dc + e364a5d commit 35c5c94

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

doc/Language/5to6-nutshell.pod6

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ Unchanged:
533533
=item C«== != < > <= >=» Numeric comparisons
534534
=item C<eq ne lt gt le ge> String comparisons
535535
536-
=head2 C<,> (Comma) List Separator
536+
=head2 C<,> (Comma) List separator
537537
538538
Unchanged, but note that in order to flatten an array variable to a list (in
539539
order to append or prefix more items) one should use the C<|> operator
@@ -568,8 +568,8 @@ depend on the types of both arguments, and those rules are far from
568568
identical in Perl 5 and Perl 6. See L<~~|/routine/~~> and
569569
L<the smartmatch operator|/language/operators#index-entry-smartmatch_operator>
570570
571-
=head2 C<& | ^> String Bitwise ops
572-
=head2 C<& | ^> Numeric Bitwise ops
571+
=head2 C<& | ^> String bitwise ops
572+
=head2 C<& | ^> Numeric bitwise ops
573573
=head2 C<& | ^> Boolean ops
574574
575575
In Perl 5, C<& | ^> were invoked according to the contents of their
@@ -665,7 +665,7 @@ my $result = $score > 60 ? 'Pass' : 'Fail'; # Perl 5
665665
=for code :preamble<my $score>
666666
my $result = $score > 60 ?? 'Pass' !! 'Fail'; # Perl 6
667667
668-
=head2 C<.> (Dot) String Concatenation
668+
=head2 C<.> (Dot) String concatenation
669669
670670
Replaced by the tilde.
671671
@@ -676,7 +676,7 @@ $food = 'grape' . 'fruit'; # Perl 5
676676
=for code :preamble<no strict;>
677677
$food = 'grape' ~ 'fruit'; # Perl 6
678678
679-
=head2 C<x> List Repetition or String Repetition operator
679+
=head2 C<x> List repetition or string repetition operator
680680
681681
In Perl 5, C<x> is the Repetition operator, which behaves differently in
682682
scalar or list contexts:
@@ -702,7 +702,7 @@ Mnemonic: C<x> is short and C<xx> is long, so C<xx> is the one used for lists.
702702
@ones = 5 xx @ones; # Parentheses no longer needed
703703
704704
705-
=head2 C<..> C<...> Two Dots or Three Dots, Range op or Flipflop op
705+
=head2 C<..> C<...> Two dots or three dots, range op or flipflop op
706706
707707
In Perl 5, C<..> was one of two completely different operators, depending
708708
on context.
@@ -719,7 +719,7 @@ In Perl 5, C<"${foo}s"> deliminates a variable name from regular text next to
719719
it. In Perl 6, simply extend the curly braces to include the sigil too:
720720
C<"{$foo}s">. This is in fact a very simple case of interpolating an expression.
721721
722-
=head1 Compound Statements
722+
=head1 Compound statements
723723
724724
These statements include conditionals and loops.
725725
@@ -907,7 +907,7 @@ while (my ($k, $v) = each(%hash)) { ... } # Perl 5
907907
=for code :preamble<no strict;>
908908
for %hash.kv -> $k, $v { ... } # Perl 6
909909
910-
=head2 Flow Control statements
910+
=head2 Flow control statements
911911
912912
Unchanged:
913913
@@ -1005,7 +1005,7 @@ say "element exists" if exists $array[$i]; # Perl 5
10051005
=for code :preamble<no strict;>
10061006
say "element exists" if @array[$i]:exists; # Perl 6 - use :exists adverb
10071007
1008-
=head1 Regular Expressions ( Regex / Regexp )
1008+
=head1 Regular expressions ( regex / regexp )
10091009
10101010
=head2 Change C<=~> and C<!~> to C<~~> and C<!~~> .
10111011

0 commit comments

Comments
 (0)