From: Jarkko Hietaniemi Date: Mon, 10 Jun 2002 20:16:30 +0000 (+0000) Subject: Document the implicit :bytes of binmode(FH). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14ca2aaa028b45dc233ea8bb9db03e0a1b10a08f;p=p5sagit%2Fp5-mst-13.2.git Document the implicit :bytes of binmode(FH). p4raw-id: //depot/perl@17173 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index b1d7ebd..c85d43b 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -458,6 +458,8 @@ DISCIPLINE can be either of C<:raw> for binary mode or C<:crlf> for "text" mode. If the DISCIPLINE is omitted, it defaults to C<:raw>. Returns true on success, C on failure. To mark FILEHANDLE as UTF-8, use C<:utf8>, and to mark it as bytes, use C<:bytes>. +For backward compatibility binmode(FILEHANDLE) also implicitly +marks the handle as bytes. The C<:raw> are C<:clrf>, and any other directives of the form C<:...>, are called I/O I. The C pragma can be