When I run perl, I get the warning:
perl
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset
It is simple fix in Ubuntu. You have to generate the Locales from scratch, running the following commands from the command line:
sudo locale-gen en_US en_US.UTF-8 sudo dpkg-reconfigure locales
This should create the locales and then re-configure them.