From: Jarkko Hietaniemi Date: Tue, 16 Apr 2002 21:58:44 +0000 (+0000) Subject: Documents for Merijn and lots of XXXs for NI-S :-) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=16537909412fc4f9eac20f6fc9a1b80bddb3cdd5;p=p5sagit%2Fp5-mst-13.2.git Documents for Merijn and lots of XXXs for NI-S :-) p4raw-id: //depot/perl@15957 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index f0e7749..49efec6 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -452,14 +452,16 @@ L. Arranges for FILEHANDLE to be read or written in "binary" or "text" mode on systems where the run-time libraries distinguish between binary and text files. If FILEHANDLE is an expression, the value is taken as the -name of the filehandle. 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. The C<:raw> are C<:clrf>, and any other directives of the -form C<:...>, are called I/O I. - -The C pragma can be used to establish default I/O disciplines. -See L. +name of the filehandle. + +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 the as bytes, use C<: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 +used to establish default I/O disciplines. See L. In general, binmode() should be called after open() but before any I/O is done on the filehandle. Calling binmode() will flush any possibly diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 9bbb8d9..082a38e 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -853,6 +853,48 @@ was running setuid or setgid, or the B<-T> switch was used), this variable is ignored. If PERL5OPT begins with B<-T>, tainting will be enabled, and any subsequent options ignored. +=item PERLIO + +A space-separated list of PerlIO layers. + +=over 8 + +=item :bytes + +XXX + +=item :crlf + +XXX + +=item mmap + +XXX + +=item perlio + +XXX + +=item raw + +XXX + +=item stdio + +XXX + +=item unix + +XXX + +=item :utf8 + +XXX + +=back + +For example, XXX ... for Unicode XXXX ... for Win32 XXX + =item PERLLIB A colon-separated list of directories in which to look for Perl library