projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
881bdbd
)
Re: ext/Encode/t/Tcl.t on VMS @15173
Audrey Tang [Tue, 12 Mar 2002 11:55:06 +0000 (19:55 +0800)]
Message-Id: <
20020312035506
.GA6946@not.autrijus.org>
p4raw-link: @15173 on //depot/perl:
2a3d532f608c7c5e0c317bfba640d088125b93a3
p4raw-id: //depot/perl@15181
ext/Encode/Encode.pm
patch
|
blob
|
blame
|
history
diff --git
a/ext/Encode/Encode.pm
b/ext/Encode/Encode.pm
index
2084354
..
8a9cc00
100644
(file)
--- a/
ext/Encode/Encode.pm
+++ b/
ext/Encode/Encode.pm
@@
-243,16
+243,19
@@
sub getEncoding
{
return $encoding{$lc};
}
+
+ my $oc = $class->findAlias($name);
+ return $oc if defined $oc;
+
+ $oc = $class->findAlias($lc) if $lc ne $name;
+ return $oc if defined $oc;
+
if (exists $external_tables{$lc})
{
require $external_tables{$lc};
return $encoding{$name} if exists $encoding{$name};
}
- my $oc = $class->findAlias($name);
- return $oc if defined $oc;
- return $class->findAlias($lc) if $lc ne $name;
-
return;
}