From: Marcus Holland-Moritz Date: Mon, 4 Aug 2003 20:09:35 +0000 (+0200) Subject: typos in encoding.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ce16148b511e61f533e8bd535082be8ea4b6dd8d;p=p5sagit%2Fp5-mst-13.2.git typos in encoding.pm From: "Marcus Holland-Moritz" Message-ID: <005001c35ab3$9225c320$0c2f1fac@R2D2> p4raw-id: //depot/perl@20486 --- diff --git a/ext/Encode/encoding.pm b/ext/Encode/encoding.pm index 8992307..a42c126 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 expression is surronded by C. The idea behind +Note the C expression is surrounded by C. The idea behind is the same as classic idiom that makes C 'interpolate'. tr/$from/$to/; # wrong!