Skip to content

Commit 241ab68

Browse files
committed
Added intenting for better web rendering to 5to6-perlop.pod
1 parent 3bff9ad commit 241ab68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Language/5to6-perlop.pod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ In list context, C<..> operates as the range operator and should not
168168
need to be changed. That said, there are exclusionary range operators
169169
that may be useful. These are:
170170
171-
infix ..^ Excludes endpoint. C<1..^5; # 1 2 3 4 >
172-
infix ^.. Excludes startpoint. C<1^..5; # 2 3 4 5>
173-
infix ^..^ Excludes both start- and endpoint. C<1^..^5; # 2 3 4>
174-
prefix ^ From 0, excludes endpoint. C<^5; # 0 1 2 3 4>
171+
infix ..^ Excludes endpoint. C<1..^5; # 1 2 3 4 >
172+
infix ^.. Excludes startpoint. C<1^..5; # 2 3 4 5>
173+
infix ^..^ Excludes both start- and endpoint. C<1^..^5; # 2 3 4>
174+
prefix ^ From 0, excludes endpoint. C<^5; # 0 1 2 3 4>
175175
176176
In scalar context, C<..> and C<...> work as flip-flop operators in Perl
177177
5, but are little-known, and probably even less used. Those operations

0 commit comments

Comments
 (0)