summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/perlvar.pod10
1 files changed, 4 insertions, 6 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index ea1f601a80..c09aea5202 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -1341,12 +1341,10 @@ with every read. If a record is larger than the record size you've
set, you'll get the record back in pieces. Trying to set the record
size to zero or less will cause reading in the (rest of the) whole file.
-On VMS, record reads are done with the equivalent of C<sysread>,
-so it's best not to mix record and non-record reads on the same
-file. (This is unlikely to be a problem, because any file you'd
-want to read in record mode is probably unusable in line mode.)
-Non-VMS systems do normal I/O, so it's safe to mix record and
-non-record reads of a file.
+On VMS only, record reads bypass PerlIO layers and any associated
+buffering,so you must not mix record and non-record reads on the
+same filehandle. Record mode mixes with line mode only when the
+same buffering layer is in use for both modes.
If you perform a record read on a FILE with an encoding layer such as
C<:encoding(latin1)> or C<:utf8>, you may get an invalid string as a