执行perl语句
[root@satp ~]# perl -e 'print "hello angus"'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
hello angus[root@satp ~]#
解决方案·
[root@satp ~]# export LC_ALL=C
再次运行perl语句
[root@satp ~]# perl -e 'print "hello angus"'
hello angus