title: perl Disable "Setting locale failed." warning to display on screen
body: <p>I want to disable locale setting failed warnings to get displayed on the command line.</p>
  
  <p>In system(aix) available locale are
      C, POSIX, en_US.8859-15, en_US.ISO8859-1, en_US</p>
  
  <p>The language which is set is "EN_US"(export $LANG=EN_US), which is not available in the above list.
  Because of this execution of the below command is throwing warnings.
  if language is set from above list(export $LANG=en_US), it's working fine.</p>
  
  <hr>
  
  <pre><code>#  perl -X -e "print 'hello'"
  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
          LC_ALL = (unset),
          LC__FASTMSG = "true",
          LANG = "EN_US"
       are supported and installed on your system.
  perl: warning: Falling back to the standard locale ("C")
  </code></pre>
  
  <h2>    hello</h2>
  
  <p>The same command i have kept in perl script and it is throwing the same warnings.
  I have also used the <code>$SIG(__WARN__)</code>, but the above warnings are not getting catch here. But the other warning related to undeclared variable etc are getting catch.
  One solution is to install the unavailable locale that i'm aware, but looking for to disable this since my code have logic to select other language messages.</p>
  
  <p>So what is the way to disable these warnings on the screen?</p>