Next Lightweight Databases 17

Essential Problem

        my $n_bytes = -s $file;
        open F, "<", $file;
        while (<F>) {
          $n_lines++;
        }
        seek F, $B_POSITION, SEEK_SET;
        seek F, 0, SEEK_SET;  $REC = 1;
        <F> until $REC++ >= $L_POSITION;


Next Copyright © 2003 M. J. Dominus