I installed Padre perl, perl IDE on windows 7.And every time i run a program, i am getting an error saying,
perl: warning: Setting locale failed.
perl: warn
You need to set the LC_ALL
and LANG
environment variables to C
:
C:\>set LC_ALL=C
C:\>set LANG=C
C:\>perl x.pl
If you want to make this permanent, or work from your IDE, go to Control Panel->System and Security->System->Advanced System Settings, and under the Advanced tab, click Environment Variables. Then, add LC_ALL and LANG to the list. You might need to restart your IDE if you make changes to these variables.