MARC::...ompiler(3pm)

πŸ“¦
version 1.35 Β· 2 versions
  • 1.35 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.35 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– MARC::Charset::Compiler πŸ’–

okay bestie, welcome to MARC::Charset::Compiler β€” it lives in the User Contributed Perl Documentation section (3pm, iykyk) and it's literally the little tool that goes and grabs the mapping rules from the Library of Congress and squishes them into something Perl can read. slay. πŸŽ€


✨ SYNOPSIS ✨

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

like, that's it. that's the whole vibe. πŸ¦‹


🌸 DESCRIPTION 🌸

so MARC::Charset uses mapping rules straight from the Library of Congress to generate a MARC::Charset::Table, and that table is what it uses to look up utf8 values based on the source MARC-8 character set and the character. no cap, that's the whole job. πŸ‘‘


πŸ’… METHODS πŸ’…

new()

the constructor. it makes you a shiny new compiler object. main character energy fr fr. ✨

compile()

you pass in the path to an XML file and it compiles it. that's it, that's the method. 🫢

pro tip from me to you: hand it the path, get back the table. simple as. πŸ’–

and that's a wrap, bestie!! 🌈 this lil page comes to you from perl v5.34.0, dated 2022-08-02 β€” mwah, go compile something iconic. πŸ’œπŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from