summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/PerlIO.pm2
-rw-r--r--pod/perlfunc.pod8
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/PerlIO.pm b/lib/PerlIO.pm
index a31141894c..5df9797cf4 100644
--- a/lib/PerlIO.pm
+++ b/lib/PerlIO.pm
@@ -124,7 +124,7 @@ it was "faked" in perl5.6. It is a pseudo-layer which performs two
functions (which is messy).
Firstly it forces the file handle to be considered binary at that
-point in the layer stack, i.e it turns off any CRLF translation.
+point in the layer stack, i.e. it turns off any CRLF translation.
Secondly in prevents the IO system seaching back before it in the
layer specification. This second effect is intended to disable other
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index b4c5de0e45..cf8eb025c9 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -455,9 +455,9 @@ binary and text files. If FILEHANDLE is an expression, the value is
taken as the name of the filehandle. Returns true on success,
C<undef> on failure.
-If DISCIPLINE is ommited the filehandle is made suitable for
-passing binary data. This includes turning off CRLF translation
-and marking it as bytes.
+If DISCIPLINE is omitted the filehandle is made suitable for passing
+binary data. This includes turning off possible CRLF translation and
+marking it as bytes (as opposed to Unicode characters).
On some systems (in general, DOS and Windows-based systems) binmode()
is necessary when you're not working with a text file. For the sake
@@ -476,7 +476,7 @@ To mark FILEHANDLE as UTF-8, use C<:utf8>.
The C<:bytes>, C<:crlf>, and C<:utf8>, and any other directives of the
form C<:...>, are called I/O I<disciplines>. The normal implementation
-of disciplines in perl5.8 and later is in terms of I<layers>. See
+of disciplines in Perl 5.8 and later is in terms of I<layers>. See
L<PerlIO>. (There is typically a one-to-one correspondence between
layers and disiplines.) The C<open> pragma can be used to establish
default I/O disciplines. See L<open>.