SHARYANTO::Locale::Util(3) Locale utilities

VERSION

version 0.67

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

HOMEPAGE

Please visit the project's homepage at <https://metacpan.org/release/SHARYANTO-Utils>.

SOURCE

Source repository is at <https://github.com/sharyanto/perl-SHARYANTO-Utils>.

BUGS

Please report any bugs or feature requests on the bugtracker website <https://rt.cpan.org/Public/Dist/Display.html?Name=SHARYANTO-Utils>

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

Steven Haryanto <[email protected]>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Steven Haryanto.

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