|laziness, impatience, and hubris|
Re: Setting locale failed errorby janx (Monk)
|on Mar 10, 2003 at 17:55 UTC ( #241796=note: print w/replies, xml )||Need Help??|
This is a known deficiency in Mac OS X (darwin i.e.).
One solution is to set PERL_BADLANG to 0 in your environment, which simply tells Perl to shut up about these sort of locale problems.
Obviously this could lead to hard to debug problems.
The best (IMHO) way to set this for your own account is to use the following file as your ~/.MacOSX/environment.plist (this sets the environment for every process loaded - without depending on your login shell setting):
Log out, log out and be set.
In Section Seekers of Perl Wisdom