Perl: Warning:
_______________________________________________________________________________
Em sistemas com libc versão 5, se configurarmos as variáveis de ambiente LC_* e/ou LANG o interpretador Perl emitirá a seguinte mensagem:
ALERTA
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
.............LC_ALL = "pt_BR",
.............LANG = "pt_BR"
.......are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C")
Solução
_______________________________________________________________________________
01 Passo: Para um usuário específico
# vim /home/usuario/.profile
02 Passo: Para todos os usuários
# vim /etc/profile
Adicione as linhas a seguir no final do arquivo ( /home/usuario/.profile ou /etc/profile )
LINHAS
PERL_BADLANG=0
export PERL_BADLANG
