List

NAME

CLDR::List - Localized list formatters using the Unicode CLDR

SYNOPSIS

use CLDR::List;
my $list  = CLDR::List.new(locale => 'en');
    my @fruit = <apples oranges bananas>;
say $list.format(@fruit);      # apples, oranges, and bananas
$list.locale = 'en-GB';        # British English
    say $list.format(@fruit);      # apples, oranges and bananas
$list.locale = 'zh-Hant';      # Traditional Chinese
    say $list.format('ļ¼‘'..'ļ¼”');  # ļ¼‘态ļ¼’态ļ¼“å’Œļ¼”

DESCRIPTION

Localized list formatters using the Unicode CLDR.

Attributes

=over

  • locale

=back

Methods

=over

  • format

=back

SEE ALSO

=over

=back

AUTHOR

Nova Patch <[email protected]>

COPYRIGHT AND LICENSE

Ā© 2013ā€“2015 Nova Patch

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

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.