use POSIX; setlocale(&LC_ALL, "C") or die "Unable to set en_US locale"; my $lconv = POSIX::localeconv(); use Data::Dumper; print Dumper $lconv;