Change 11234 by jhi@alpha on 2001/07/09 13:24:54

        Document that using :encoding layer requires using Encode.

Affected files ...

... //depot/perl/ext/Encode/Encode.pm#28 edit
... //depot/perl/lib/PerlIO.pm#6 edit

Differences ...

==== //depot/perl/ext/Encode/Encode.pm#28 (text) ====
Index: perl/ext/Encode/Encode.pm
--- perl/ext/Encode/Encode.pm.~1~       Mon Jul  9 07:30:05 2001
+++ perl/ext/Encode/Encode.pm   Mon Jul  9 07:30:05 2001
@@ -721,6 +721,7 @@
 C<Encode> provides a "layer" (See L<perliol>) which can transform
 data as it is read or written.
 
+    use Encode;
     open(my $ilyad,'>:encoding(iso-8859-7)','ilyad.greek');
     print $ilyad @epic;
 

==== //depot/perl/lib/PerlIO.pm#6 (text) ====
Index: perl/lib/PerlIO.pm
--- perl/lib/PerlIO.pm.~1~      Mon Jul  9 07:30:05 2001
+++ perl/lib/PerlIO.pm  Mon Jul  9 07:30:05 2001
@@ -112,7 +112,8 @@
 
 Forces the use of C<perlio> layer even if the platform default, or
 C<use open> default is something else (such as ":encoding(iso-8859-7)")
-which would interfere with binary nature of the stream.
+(the C<:encoding> requires C<use Encode>) which would interfere with
+binary nature of the stream.
 
 =back
 
End of Patch.

Reply via email to