- Timestamp:
- 04/20/12 11:23:41 (13 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Encode-JP-Mobile/trunk/lib/Encode/JP/Mobile/Charnames.pm
r6648 r39136 2 2 use strict; 3 3 use warnings; 4 use charnames ();5 4 use bytes (); 6 5 use File::ShareDir 'dist_file'; … … 14 13 15 14 my $name2unicode; 15 16 { 17 use charnames ':full'; 18 BEGIN { *_def_translator = $^H{charnames} } 19 } 20 16 21 17 22 sub import { … … 68 73 } 69 74 else { 70 return charnames::charnames($name);75 return _def_translator($name); 71 76 } 72 77 } … … 75 80 sub _bytes_translator { 76 81 my $name = shift; 77 return charnames::charnames($name);82 return _def_translator($name); 78 83 } 79 84
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)