MARC::Detrans::Rules - A set of detransliteration rules
use MARC::Detrans::Rules; my $rules = MARC::Detrans::Rules->new(); $rules->addRule( MARC::Detrans::Rule->new( from=>'a', to='b' ) );
MARC::Detrans::Rules provides the core functionality for managing detransliteration rules and for converting transliterated text to MARC-8. A MARC::Detrans::Rules object is essentially a collection of MARC::Detrans::Rule objects which are consulted during a call to convert().
Create an empty rules object to add individual rules to.
Add a MARC::Detrans::Rule to the rules object.
convert() applies the rules contained in the MARC::Detrans::Rules object to convert a string that is passed in.
Will return the latest error encountered during a call to convert(). Can be useful for determining why a call to convert() failed. A side effect of calling error() is that the error slot is reset.
Ed Summers <ehs@pobox.com>
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
To install MARC::Detrans, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MARC::Detrans
CPAN shell
perl -MCPAN -e shell install MARC::Detrans
For more information on module installation, please visit the detailed CPAN module installation guide.