in reply to Setting locale failed error

You can:
  1. either set your locale from your OS, for example on win32, set LANG=”en” (the way you presented is for OS, not for Perl script)
  2. or set from your Perl script, like this: (the code has been tested on win32).
    use POSIX qw(locale_h); use POSIX qw(strftime); use locale; #setlocale(LC_TIME, "en"); #from OS, set your locale to something like + france or Russian, than try to comment/uncomment this, see the diffe +rence. for (0..11) { print strftime("%B", 0, 0, 0, 1, $_, 96), "\n"; }