No subject

Mon Aug 2 21:34:10 CDT 2004

     perl: warning: Setting locale failed.
         (S) The whole warning message will look something like:

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

         Exactly what were the failed locale settings varies.  In
         the above the settings were that the LC_ALL was "En_US"
         and the LANG had no value.  This error means that Perl
         detected that you and/or your operating system supplier
         and/or system administrator have set up the so-called
         locale system but Perl could not use those settings.
         This was not dead serious, fortunately: there is a
         "default locale" called "C" that Perl can and will use,
         the script will be run.  Before you really fix the
         problem, however, you will get the same error message
         each time you run Perl.  How to really fix the problem
         can be found in perllocale section LOCALE PROBLEMS.

This may not have been written by a native English-speaker methinks. ;-)


PS If a perl warning or error ever mystifies you, just add the line
'use diagnostics;' to the top of your program.

More information about the Pdx-pm-list mailing list