| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use MARC::Charset::Compiler; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | # etc/codetables.xml is vendored from the Library of Congress | ||
| 6 | # (https://www.loc.gov/marc/specifications/codetables.xml) with local | ||
| 7 | # corrections; see "DATA SOURCE" in MARC::Charset::Compiler's POD | ||
| 8 | # before replacing it with a fresh download. | ||
| 9 | 1 | print "compiling marc8/utf8 database, please be patient\n"; | |
| 10 | 1 | my $compiler = MARC::Charset::Compiler->new(); | |
| 11 | 1 | $compiler->compile('etc/codetables.xml'); | |
| 12 | 1 | $compiler->compile('etc/additional-iii-characters.xml'); | |
| 13 | 1 | $compiler->compile('etc/cccii.xml'); | |