From: Jarkko Hietaniemi Date: Tue, 18 Jun 2002 20:27:58 +0000 (+0000) Subject: Tiny tweaks. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d0fcbfa8710ca3423a8b2f79df1d1ffe66049d8;p=p5sagit%2Fp5-mst-13.2.git Tiny tweaks. p4raw-id: //depot/perl@17288 --- diff --git a/lib/PerlIO.pm b/lib/PerlIO.pm index a311418..5df9797 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 b4c5de0..cf8eb02 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 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. The normal implementation -of disciplines in perl5.8 and later is in terms of I. See +of disciplines in Perl 5.8 and later is in terms of I. See L. (There is typically a one-to-one correspondence between layers and disiplines.) The C pragma can be used to establish default I/O disciplines. See L.