From: Rafael Garcia-Suarez Date: Wed, 23 Oct 2002 18:56:08 +0000 (+0000) Subject: Further tweaks to perluniintro.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0cf8a8d9f252771f63b234f08b1ecc0f1b1f8a0f;p=p5sagit%2Fp5-mst-13.2.git Further tweaks to perluniintro.pod p4raw-id: //depot/perl@18051 --- diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index c2a57d8..21f0fa7 100644 --- a/pod/perluniintro.pod +++ b/pod/perluniintro.pod @@ -400,8 +400,7 @@ the file "text.utf8", encoded as UTF-8: open(my $nihongo, '<:encoding(iso-2022-jp)', 'text.jis'); open(my $unicode, '>:utf8', 'text.utf8'); - select $unicode; - while (<$nihongo>) { print } + while (<$nihongo>) { print $unicode $_ } The naming of encodings, both by the C and by the C pragma, is similar to the C pragma in that it allows for