NAME
Myco::Constants
SYNOPSIS
use Myco::Constants;
# Language data
$arrayref = Myco::Constants->language_codes;
$hashref = Myco::Constants->language_hash_by_code;
DESCRIPTION
A simple container for constant data.
CLASS METHODS
country_codes
List context: returns array of ISO 3166-1 country codes, alpha sorted. Scalar context: returns reference to this array.
country_hash_by_code
List context: returns hash of country code/name key/value pairs. Scalar context: returns reference to this array.
language_codes
List context: returns array of ISO 639 language codes, alpha sorted except that the preferred language is listed first (hard-coded at present). Scalar context: returns reference to this array.
language_hash_by_code
List context: returns hash of language code/full_name key/value pairs. Scalar context: returns reference to this hash.
LICENSE AND COPYRIGHT
Copyright (c) 2006 the myco project. All rights reserved. This software is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Myco::Constants::Test, Myco::Entity, Myco, Tangram, Class::Tangram, myco-mkentity