in reply to Setting locale failed error
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"; }
|
|---|