[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PERL broken -- here, anyway...
..not really.. at least PERL isn't broken, but the "here" part might be...
it is hard to tell...
every time PERL is called (even for perl -v), it produces the following
message:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
After reading the man pages on this, and looking at my libraries, I
somehow have come to beleive that someone (the implementors? the
packagers? me? some combination?) is snatching defeat from the
jaws of victory. What may be helpful is a straightfoward explanation of
what values the above environment variables ought to be set (for folks in
the US, as an example)...
My en_US was in /usr/locale on a late RH 7.0 (BSWare 7.0 #20) system,
configured but unhacked (but it's only Tuesday! :).
After RTFM'ing, fooling around with numerous different settings for the
variables, I eventually did what all developers on a timeline must: I gave
up, set PERL_BADLANG=0, and ran the scripts... heck I'm TESTING some
application software and a new environment, but this is going to bite me
down the road (visions of filled up logs, f'rinstance), and perhaps
others....
I suggest a short response from someone who really knows about PERL, and
a simple application programmer like me will be happy to learn....
Regards,
---> RGB <---