summaryrefslogtreecommitdiff
path: root/lib/PerlIO.pm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-14 20:36:55 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-14 20:36:55 +0000
commite76300d6a3eeeae9f529c5a2d89e531c688df885 (patch)
tree1fb637c8816b23ad440a2d1012d971a8bd9d005c /lib/PerlIO.pm
parent491abfa0d3660abd254acccb4ce25347d4e51152 (diff)
downloadperl-e76300d6a3eeeae9f529c5a2d89e531c688df885.tar.gz
PERLIO=perlio requires extra steps.
p4raw-id: //depot/perl@19209
Diffstat (limited to 'lib/PerlIO.pm')
-rw-r--r--lib/PerlIO.pm10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/PerlIO.pm b/lib/PerlIO.pm
index ad99a30886..9d3822cc13 100644
--- a/lib/PerlIO.pm
+++ b/lib/PerlIO.pm
@@ -165,8 +165,9 @@ in Perl using the latter) come with the Perl distribution.
Use C<:encoding(ENCODING)> either in open() or binmode() to install
a layer that does transparently character set and encoding transformations,
-for example from Shift-JIS to Unicode. Note that an C<:encoding> also
-enables C<:utf8>. See L<PerlIO::encoding> for more information.
+for example from Shift-JIS to Unicode. Note that under C<stdio>
+an C<:encoding> also enables C<:utf8>. See L<PerlIO::encoding>
+for more information.
=item :via
@@ -230,8 +231,9 @@ The following returns the B<names> of the PerlIO layers on a filehandle.
my @layers = PerlIO::get_layers(FH);
The layers are returned in the order an open() or binmode() call would
-use them. Note that the stack begings (normally) from C<stdio>, the
-platform specific low-level I/O (like C<unix>) is not part of the stack.
+use them. Note that the stack begins (normally) from C<stdio> or from
+C<perlio>. Under C<stdio> the platform specific low-level I/O (like
+C<unix>) is not part of the stack, but under C<perlio> it is.
By default the layers from the input side of the filehandle is
returned, to get the output side use the optional C<output> argument: