Author image Andreas J. König

NAME

Tie::MAB2::Id - Read a raw MAB2 file into a tied hash

SYNOPSIS

 tie %tie, 'Tie::MAB2::Id', file => 'MAB-file';

DESCRIPTION

Access all records in a raw MAB2 file at random (read-only). On first call an index file is created that only stores offsets for all records. Access is then managed by a simple seek to the record. Record key is the identifikationsnummer of the record. FETCH returns an object of the appropriate class depending on the type of the accessed record. MAB2::Record::Base is the common baseclass of all classes implementing record types.