summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 663c15358f..5ad9106d4d 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -7538,7 +7538,10 @@ argument is given. Returns the integer number of seconds actually slept.
EXPR should be a positive integer. If called with a negative integer,
L<C<sleep>|/sleep EXPR> does not sleep but instead emits a warning, sets
-$! (C<errno>), and returns zero.
+C<$!> (C<errno>), and returns zero.
+
+If called with a non-integer, the fractional part is ignored.
+
C<sleep 0> is permitted, but a function call to the underlying platform
implementation still occurs, with any side effects that may have.