The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MARC::Charset::Generic - Superclass for Charset Classes

SYNOPSIS

    There is no need to use this class directly. 

DESCRIPTION

All of the MARC::Charset::* classes inherit from MARC::Charset::Generic, so that they all implement some core methods. There is no constructor method for MARC::Charset::Generic since it is only meant to be subclassed, not instantiated.

EXPORTS

These constants can be exported with the :all tag. They are constants defined by the Library of Congress for indentifying and switching to alternate character sets.

    use MARC::Charset::Generic qw( :all );

METHODS

name()

Returns the name of the character set.

getCharsetCode()

Returns the character set code for this character set, as defined by the Library of Congress.

getCharSize()

Returns the number of bytes in each character of this character set.

TODO

  • Nothing

AUTHORS

Ed Summers <ehs@pobox.com>