summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2009-09-27 14:42:11 +0200
committerRafael Garcia-Suarez <rgs@consttype.org>2009-09-27 14:42:11 +0200
commit93e19c0f634ff075d96380394c4e3449389368d8 (patch)
tree7a430f687af4320300fe628219042a91e1cb8570 /pod
parent338584c0b1c948a967b5e2ecbb69c512410589e4 (diff)
downloadperl-93e19c0f634ff075d96380394c4e3449389368d8.tar.gz
[perl #69384] numericness failure in sorting
This patch removes the error "Sort subroutine didn't return a numeric value" and adds a regression test.
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod6
1 files changed, 0 insertions, 6 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 1f7bc0bc8e..026b68ec83 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3920,12 +3920,6 @@ the smart match.
(F) An ancient error message that almost nobody ever runs into anymore.
But before sort was a keyword, people sometimes used it as a filehandle.
-=item Sort subroutine didn't return a numeric value
-
-(F) A sort comparison routine must return a number. You probably blew
-it by not using C<< <=> >> or C<cmp>, or by not using them correctly.
-See L<perlfunc/sort>.
-
=item Sort subroutine didn't return single value
(F) A sort comparison subroutine may not return a list value with more