summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-10-02 15:58:18 +0300
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-10-02 10:09:48 +0000
commitf5a7294f1dd651fb00c000797104b15457a93401 (patch)
treece85dbf79cb58e51cd332b83461f522118ec4b55 /pod/perldiag.pod
parent582588d244ad30f176d66f31670f637b0bdb9884 (diff)
downloadperl-f5a7294f1dd651fb00c000797104b15457a93401.tar.gz
perldiag.pod: followup on the PerlIO::scalar patch
Message-ID: <4520E2BA.1000309@iki.fi> p4raw-id: //depot/perl@28912
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod7
1 files changed, 5 insertions, 2 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index d55ba22f46..ac67f15da6 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2766,8 +2766,11 @@ which is odd, because hashes come in key/value pairs.
(F, W layer) You tried to do a read/write/send/recv/seek operation
with an offset pointing outside the buffer. This is difficult to
-imagine. The sole exception to this is that C<sysread()>ing past the
-buffer will extend the buffer and zero pad the new area.
+imagine. The sole exceptions to this are that zero padding will
+take place when going past the end of the string when either
+C<sysread()>ing a file, or when seeking past the end of a scalar opened
+of I/O (in anticipation of future reads and to imitate the behaviour with
+real files).
=item %s() on unopened %s