projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a243a48
)
typos in encoding.pm
author
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Mon, 4 Aug 2003 20:09:35 +0000
(22:09 +0200)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 5 Aug 2003 06:05:53 +0000
(06:05 +0000)
From: "Marcus Holland-Moritz" <mhx-perl@gmx.net>
Message-ID: <
005001c35ab3
$
9225c320
$
0c2f1fac
@R2D2>
p4raw-id: //depot/perl@20486
ext/Encode/encoding.pm
patch
|
blob
|
history
diff --git
a/ext/Encode/encoding.pm
b/ext/Encode/encoding.pm
index
8992307
..
a42c126
100644
(file)
--- 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 arou
n
d 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 surro
u
nded by C<qq{}>. The idea behind
is the same as classic idiom that makes C<tr///> 'interpolate'.
tr/$from/$to/; # wrong!