Locale::MakePhrase::Language - base class for language-specific handling.
This is a base-class for language-specific implementation modules.
You only need to implement custom language objects, if there is something you cant do with a language rule, such as:
handling keyboard input in a language specific way
display of formula's
The following methods are available:
Construct an instance of this module; all arguments passed to the init() method.
Allow sub-classes a chance to control construction.
Returns the language tag of this modules' language.
This methods is simply a stub which declares the signature. It is up the language specific module to implement the correct handling of the keypress'ed value.
For example, the Locale::MakePhrase::Language::en module implements a test for the y character; if y is pressed, a value of true is returned; any other key returns false.
To install Locale::MakePhrase, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Locale::MakePhrase
CPAN shell
perl -MCPAN -e shell install Locale::MakePhrase
For more information on module installation, please visit the detailed CPAN module installation guide.