按照教程安装完perl后,在命令行中输入perl -v后,屏幕显示了以下信息
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN.UTF-8",
LC_ALL = "zh_CN.UTF-8",
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2015, Larry Wall
Binary build 2200 [299195] provided by ActiveState http://www.ActiveState.com
Built Jul 19 2015 04:52:45
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.
哪位大神能帮我解决这个问题呢?谢谢
export LC_ALL="C"
你的系统不支持对应的语言
http://stackoverflow.com/questions/2499794/how-can-i-fix-a-locale-warning-from-perl