perl: warning: Setting locale failed.

错误:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "c"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

解决:

export LANG=en_US:zh_CN.UTF-8&&export LC_ALL=C&&perl hello.pl

你可能感兴趣的:(perl: warning: Setting locale failed.)