Those records are so simple, I'd make sure they were fixed length (rewriting the file if necessary) and simply seek( FILE, $index*$reclen, 0 ) then readline (<FILE>).
- tyeIn reply to Re: Very large text file - simple indexing (seek)
by tye
in thread Very large text file - simple indexing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |