[~] $ perldiag locale
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 system
administrator have set up the so-called variable
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 the perllocale manpage
section LOCALE PROBLEMS.
[~] $
perllocale has a whole lot of information on how to
solve/fix/mute this issue.
-dlc
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|