Pedigree::Language(3)

NAME
Pedigree::Language - encapsulating language issues for pedigree library

SYNOPSIS
use Pedigree::Language;

$lang = new Pedigree::Language($language[, $encoding]);

$lang->Header();

$lang->Language();

$lang->Encoding();

$lang->GetFieldNames();

$lang->GetValues();

$lang->GetSpecialNames();

$lang->PrintField($field, $<$value>);

DESCRIPTION
This package defines the language-dependent parts of the pedigree library. The idea is to gather everything about language here, so adding a new language should be (presumably) be easy.

new($language[, $encoding]);
    Construct the new interpreter from the given language and encoding names.

Header ()
    Print the language-related lines of the document preamble

Language ()
    Print the current language

Encoding ()
    Print the current encoding

GetFieldNames();
    Outputs a reference to a hash "field_name_in_this_language"=>"field_name_in_English"

GetValues();
    Outputs a reference to a hash "field_value_in_this_language"=>"field_value_in_English"

GetSpecialNames();
    Some values for the 'Name' field start with "#". They are special. This subroutine outputs a reference to a hash "special_name_in_this_language"=>"special_name"

PrintField($field, $value);
    Formats the value $value of the given field $field according to the rules of the given language.

ENVIRONMENT
The calling program should define $main::DEBUG and set it to 0 or 1.

SEE ALSO
pedigree(1), Pedigree(3)

AUTHOR
Boris Veytsman, Leila Akhmadeeva, 2006, 2007