summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-09 13:24:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-09 13:24:54 +0000
commit422347002777e3c56c6b7046c1bfa5982c3ea6eb (patch)
treec0815fa7c9f85a76bc7045d69c390c7eba6b49d1 /ext
parent02971690af903a9fce07d2815215087acfa9729e (diff)
downloadperl-422347002777e3c56c6b7046c1bfa5982c3ea6eb.tar.gz
Document that using :encoding layer requires using Encode.
p4raw-id: //depot/perl@11234
Diffstat (limited to 'ext')
-rw-r--r--ext/Encode/Encode.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/Encode/Encode.pm b/ext/Encode/Encode.pm
index 104da00c8f..27218d1a7e 100644
--- a/ext/Encode/Encode.pm
+++ b/ext/Encode/Encode.pm
@@ -721,6 +721,7 @@ If Perl is configured to use the new 'perlio' IO system then
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;