|
NAMEAcme::MetaSyntactic::Locale - Base class for multilingual themes SYNOPSIS package Acme::MetaSyntactic::digits;
use Acme::MetaSyntactic::Locale;
our @ISA = ( Acme::MetaSyntactic::Locale );
__PACKAGE__->init();
1;
=head1 NAME
Acme::MetaSyntactic::digits - The numbers theme
=head1 DESCRIPTION
You can count on this module. Almost.
=cut
__DATA__
# default
en
# names en
zero one two three four five six seven eight nine
# names fr
zero un deux trois quatre cinq six sept huit neuf
# names it
zero uno due tre quattro cinque sei sette otto nove
# names yi
nul eyn tsvey dray fir finf zeks zibn akht nayn
DESCRIPTION"Acme::MetaSyntactic::Locale" is the base class for all themes that are meant to return a random excerpt from a predefined list that depends on the language. The language is selected at construction time from:
The language codes should conform to the RFC 3066 and ISO 639 standard. METHODSAcme::MetaSyntactic::Locale offers several methods, so that the subclasses are easy to write (see full example in SYNOPSIS):
SEE ALSOCodes for the Representation of Names of Languages, at <http://www.loc.gov/standards/iso639-2/langcodes.html>. RFC 3066, Tags for the Identification of Languages, at <http://www.ietf.org/rfc/rfc3066.txt>. Acme::MetaSyntactic, Acme::MetaSyntactic::MultiList. AUTHORPhilippe 'BooK' Bruhat, "<book@cpan.org>" COPYRIGHT & LICENSECopyright 2005-2006 Philippe 'BooK' Bruhat, All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|