in reply to Setting locale failed error

Apparently Perl expects to have the LC_ALL locale set (e.g. to "en_US" like the other one). I believe you can set them in some startup script - just add export LC_ALL=en_US. I don't know the startup scripts layout in Mac OS so I can't be more specific.