diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2003-08-04 22:09:35 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-05 06:05:53 +0000 |
commit | ce16148b511e61f533e8bd535082be8ea4b6dd8d (patch) | |
tree | 91f6cff7dcbe4f837d104b3ac92b1002ab315b69 /ext/Encode | |
parent | a243a48e99fa6345b1c8b09f3d98952fb43ec4a5 (diff) | |
download | perl-ce16148b511e61f533e8bd535082be8ea4b6dd8d.tar.gz |
typos in encoding.pm
From: "Marcus Holland-Moritz" <mhx-perl@gmx.net>
Message-ID: <005001c35ab3$9225c320$0c2f1fac@R2D2>
p4raw-id: //depot/perl@20486
Diffstat (limited to 'ext/Encode')
-rw-r--r-- | ext/Encode/encoding.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/Encode/encoding.pm b/ext/Encode/encoding.pm index 8992307854..a42c126e76 100644 --- a/ext/Encode/encoding.pm +++ b/ext/Encode/encoding.pm @@ -397,13 +397,13 @@ This counterintuitive behavior has been fixed in perl 5.8.1. =head3 workaround to tr///; -In perl 5.8.0, you can work aroud as follows; +In perl 5.8.0, you can work around as follows; use encoding 'euc-jp'; # .... eval qq{ \$kana =~ tr/\xA4\xA1-\xA4\xF3/\xA5\xA1-\xA5\xF3/ }; -Note the C<tr//> expression is surronded by C<qq{}>. The idea behind +Note the C<tr//> expression is surrounded by C<qq{}>. The idea behind is the same as classic idiom that makes C<tr///> 'interpolate'. tr/$from/$to/; # wrong! |