Steven Haryanto > SHARYANTO-Utils > SHARYANTO::Locale::Util

Download:
SHARYANTO-Utils-0.75.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.75   Source  

NAME ^

SHARYANTO::Locale::Util - Locale utilities

VERSION ^

This document describes version 0.75 of SHARYANTO::Locale::Util (from Perl distribution SHARYANTO-Utils), released on 2014-06-26.

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 ^

POSIX

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 <stevenharyanto@gmail.com>

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.

syntax highlighting: