Skip to content

Commit 5252066

Browse files
author
Jan-Olof Hendig
committed
Changed references to deprecated Order::Increase and Order::Decrease to Order::Less and Order::More
1 parent 09662f5 commit 5252066

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/Language/5to6-perlfunc.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ Not currently documented, but will likely wind up in C<IO::Socket>.
13251325
C<sort> exists in Perl 6, but is somewhat different. C<$a> and C<$b> are
13261326
no longer special (See L<5to6-perlvar>) and sort routines no
13271327
longer return positive integers, negative integers, or 0, but rather
1328-
C<Order::Increase>, C<Order::Same>, or C<Order::Decrease> objects. See
1328+
C<Order::Less>, C<Order::Same>, or C<Order::More> objects. See
13291329
L<sort|/routine/sort> for details. May also be used as a
13301330
method I. e. C<sort(@a)> is equivalent to C<@a.sort>.
13311331

doc/Type/List.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ is used for comparing list elements.
562562
563563
If C<&by> is provided, and it accepts two arguments,
564564
it is invoked for pairs of list elements, and should return
565-
C<Order::Increase>, C<Order::Same> or C<Order::Decrease>.
565+
C<Order::Less>, C<Order::Same> or C<Order::More>.
566566
567567
If C<&by> accepts only one argument, the list elements are sorted
568568
according to C<< by($a) cmp by($b) >>. The return values of C<&by> are

0 commit comments

Comments
 (0)