Author image Andreas J. König


Tie::MAB2::Recno - Read a raw MAB2 file in a tied array


 tie @tie, 'Tie::MAB2::Recno', 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 just the record number. FETCH returns an object of the appropriate class depending on the type of the accessed record. The available classes all have their respective manpages whereas MAB2::Record::Base is the common baseclass.