The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

language7.pl - Demonstration of Language Module language2code Usage.

SYNOPSIS

./language7.pl

DESCRIPTION

THis is the same script as language1.pl but demonstrating the language2code method instead of code2language.

This is a simple demonstration script that shows how language modules (locale really) can be used directly to instantiate a Locales::Language instance in the language supported by the module. The language2code method is demonstrated. For example:

  require Locales::Language::am;
  my $am = new Locales::Language::am;

  print $am->getLocale, " => ", $am->language2code ( "እንግሊዝኛ" ), "\n";

AUTHOR

Daniel Yacob, dyacob@cpan.org

SEE ALSO

Locales::Language::am Locales::Language::de Locales::Language::en Locales::Language::fr

1 POD Error

The following errors were encountered while parsing the POD:

Around line 42:

Non-ASCII character seen before =encoding in '"እንግሊዝኛ"'. Assuming UTF-8