Author image Andreas J. König


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


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


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.