Message-ID: <
20031230133755.GA23118@vipunen.hut.fi>
Date: Tue, 30 Dec 2003 15:37:55 +0200
Subject: one more pod fix
From: Jarkko Hietaniemi <jhi@iki.fi>
Message-ID: <
20031230135641.GA24516@vipunen.hut.fi>
Date: Tue, 30 Dec 2003 15:56:41 +0200
p4raw-id: //depot/perl@22013
The arguments to layers are by default returned in parenthesis after
the name of the layer, and certain layers (like C<utf8>) are not real
layers but instead flags on real layers: to get all of these returned
-separately use the optional C<separate> argument:
+separately use the optional C<details> argument:
my @layer_and_args_and_flags = PerlIO::get_layers($fh, details => 1);
encoding or another) could be given as arguments or received as
results, or both, but it is not.
-The following are such interfaces. For all of these Perl currently
-(as of 5.8.1) simply assumes byte strings both as arguments and results.
+The following are such interfaces. For all of these interfaces Perl
+currently (as of 5.8.3) simply assumes byte strings both as arguments
+and results, or UTF-8 strings if the C<encoding> pragma has been used.
One reason why Perl does not attempt to resolve the role of Unicode in
this cases is that the answers are highly dependent on the operating