projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Salvage bits and pieces from the experimental 'utf8 everywhere'
[p5sagit/p5-mst-13.2.git]
/
lib
/
utf8_heavy.pl
diff --git
a/lib/utf8_heavy.pl
b/lib/utf8_heavy.pl
index
2327d3d
..
a843737
100644
(file)
--- a/
lib/utf8_heavy.pl
+++ b/
lib/utf8_heavy.pl
@@
-36,7
+36,9
@@
sub SWASHNEW {
}
{
- $list ||= ($caller ne 'main' && eval { $caller->$type(); })
+ $list ||=
+ ( exists &{"${caller}::${type}"} &&
+ eval { $caller->$type() } )
|| do "$file.pl"
|| do "$encoding/$file.pl"
|| do "$encoding/Is/${type}.pl"