summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-21 14:47:05 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-21 14:47:05 +0000
commitd4ad863d67925b9ee11642aee9c9257c020e4f2d (patch)
tree052f4d282168774241586c01142e323d32383602 /pod/perlop.pod
parent4d4a0c668304428e2ef73f3f276e8de37cc9ee32 (diff)
downloadperl-d4ad863d67925b9ee11642aee9c9257c020e4f2d.tar.gz
perldelta fixes from the p5p crowd.
p4raw-id: //depot/perl@6743
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod9
1 files changed, 6 insertions, 3 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 9b4dbafa19..b317bdec9c 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -299,7 +299,9 @@ to the right argument.
Binary "<=>" returns -1, 0, or 1 depending on whether the left
argument is numerically less than, equal to, or greater than the right
-argument.
+argument. If your platform supports NaNs (not-a-numbers) as numeric
+values, using them with "<=>" (or any other numeric comparison)
+returns undef.
Binary "eq" returns true if the left argument is stringwise equal to
the right argument.
@@ -307,8 +309,9 @@ the right argument.
Binary "ne" returns true if the left argument is stringwise not equal
to the right argument.
-Binary "cmp" returns -1, 0, or 1 depending on whether the left argument is stringwise
-less than, equal to, or greater than the right argument.
+Binary "cmp" returns -1, 0, or 1 depending on whether the left
+argument is stringwise less than, equal to, or greater than the right
+argument.
"lt", "le", "ge", "gt" and "cmp" use the collation (sort) order specified
by the current locale if C<use locale> is in effect. See L<perllocale>.