Skip to content
auto call setlocale when set $ENV{LANG}
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
eg
lib
t
xt
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile

README.md

NAME

autolocale - auto call setlocale() when set $ENV{"LANG"}

SYNOPSIS

use autolocale;

$ENV{"LANG"} = "C"; # locale is "C"
{
    local $ENV{"LANG"} = "en_US";# locale is "en_US"
}
# locale is "C"

no autolocale; # auto setlocale disabled
$ENV{"LANG"} = "en_US"; # locale is "C"

DESCRIPTION

autolocale is pragma module that auto call setlocale() when set $ENV{"LANG"}.

AUTHOR

Hideaki Ohno

SEE ALSO

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.