DOKK / manpages / debian 10 / libmarc-charset-perl / MARC::Charset::Compiler.3pm.en
MARC::Charset::Compiler(3pm) User Contributed Perl Documentation MARC::Charset::Compiler(3pm)

MARC::Charset::Compiler - compile XML mapping rules from LoC

    $compiler = MARC::Charset::Compiler->new();
    $table = $compiler->compile('codetables.xml');

MARC::Charset uses mapping rules from the Library of Congress for generating a MARC::Charset::Table for looking up utf8 values based on the source MARC-8 character set and the character.

new()

The constructor.

compile()

Pass in the path to an XML file to compile.

2019-03-17 perl v5.28.1