NAME
Locale::Set - Set locale (small wrapper POSIX::setlocale)
VERSION
This document describes version 0.77 of Locale::Set (from Perl distribution Locale-Set), released on 2014-12-10.
SYNOPSIS
use SHARYANTO::Locale::Util qw(setlocale LC_ALL);
setlocale(LC_ALL, "en_US") or warn "Can't setlocale: $!";
EXPORTS
LC_*
Imported from POSIX.
setlocale($category, $locale)
A wrapper around POSIX's setlocale(). When given a locale in the form of "en_US", some systems fail. This wrapper tries to find a suitable encoding and retries with e.g. setlocale($category, "en_US.UTF-8").
EXPORT TAGS
:locale_h
:all
SEE ALSO
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Locale-Set.
SOURCE
Source repository is at https://github.com/perlancar/perl-SHARYANTO-Locale-Util.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Locale-Set
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.