Myco::Constants
$Revision: 1.2 $
$Date: 2003/12/19 21:52:01 $
use Myco::Constants; # Language data $arrayref = Myco::Constants->language_codes; $hashref = Myco::Constants->language_hash_by_code;
A simple container for constant data.
List context: returns array of ISO 3166-1 country codes, alpha sorted. Scalar context: returns reference to this array.
List context: returns hash of country code/name key/value pairs. Scalar context: returns reference to this array.
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.
List context: returns hash of language code/full_name key/value pairs. Scalar context: returns reference to this hash.
Copyright (c) 2004 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.
Myco::Constants::Test, Myco::Base::Entity, Myco, Tangram, Class::Tangram, mkentity
To install Myco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Myco
CPAN shell
perl -MCPAN -e shell install Myco
For more information on module installation, please visit the detailed CPAN module installation guide.