MT上“Name "Locale::Maketext::Lexicon" used only once:” 问题的解决: 改用Perl内置函数库
最近从服务器日志中经常发现MT的错误日志:
Name "Locale::Maketext::Lexicon" used only once: possible typo at
.../extlib/Locale/Maketext.pm line 653.,....
解决方法:
删除 mt/extlib/目录下的I18N/ 和 Locale/ 目录即可;
原因:
服务器上已经升级到Perl 5.10.x了: 很多国际化字符集方面的支持直接使用Perl内置的支持包即可。
[chedong@titans ~/logs/chedong.com/http]$ perl -v
This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
Copyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
建议继续学习:
- perl更新/修改/删除文本文件内容 (阅读:9330)
- perl大牛flw传说 (阅读:6457)
- perl模块Getopt::Std用法及实例-从命令行读取参数模块 (阅读:5764)
- [Perl] Template::Toolkit 模板技术. (阅读:5324)
- 在perl中连接和使用sqlite做数据存储 (阅读:4925)
- Perl命令行常见用法及技巧 (阅读:4677)
- ORACEL RAC 字符集 (阅读:4512)
- perl的expect使用方法,实现非交互式登录。 (阅读:4361)
- perl模块之MIME::Lite发送有附件的邮件 (阅读:4357)
- Perl 倒行分析文件方法。perl读文本文件,从末尾往前读. (阅读:4321)
扫一扫订阅我的微信号:IT技术博客大学习
- 作者:车东[Blog^2] 来源: 车东[Blog^2]
- 标签: Perl 字符集
- 发布时间:2010-08-01 19:56:30
- [12] 逃出你的肖申克(五):看不见的牢笼(上)
- [10] linux 简单架设防火墙路由器
- [9] 关于身份证号的那些事
- [9] [Perl]Moose::Manual::T
- [8] Eclipse开发Android应用程序入门
- [8] 优先为移动设计的理由
- [8] Nginx带宽控制
- [8] 位置服务类产品的用户状态和地点管理设想
- [8] Eclipse开发Android应用程序入门
- [8] mysqldump意外终止的原因以及解决方法