diff options
Diffstat (limited to 'lib/utf8_heavy.pl')
-rw-r--r-- | lib/utf8_heavy.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utf8_heavy.pl b/lib/utf8_heavy.pl index ab2e15ddec..7a70e29c25 100644 --- a/lib/utf8_heavy.pl +++ b/lib/utf8_heavy.pl @@ -34,7 +34,7 @@ sub SWASHNEW { } else { $file =~ s#^(Is|To)([A-Z].*)#$1/$2#; } - $list ||= eval { $caller->$type(); } + $list ||= ($caller ne 'main' && eval { $caller->$type(); }) || do "$file.pl" || do "$encoding/$file.pl" || do "$encoding/Is/${type}.pl" |