Andreas J. König > MAB2 > Tie::MAB2::Recno

Download:
MAB2-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.006   Source  

NAME ^

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

SYNOPSIS ^

 tie @tie, 'Tie::MAB2::Recno', 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 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.

syntax highlighting: