[snip]
> Tim said:

> I suspect a missing dot...   File-Seek.tar.gz

You are correct tpyos and all that.

> In which case the 'Seek' part is a little too generic. Perhaps
OrderedSeek,

File::Seek::Sorted?
File::Search::Sorted?

File::Magnet   aka   File::Seek::NeedleIn(Sorted :-)Haystack

> since ordering is essential to the plot.

Although taking advantage of order is at the heart of the module neither the
get_between() or get_last() methods require any sorting of the target file.
get_last() is totally independent. get_between needs file position marker(s)
to function. Whilst these can be supplied by the order dependent methods
this need not be the case.

You could for instance just log file size periodically with a datetime stamp
effectively generating a datetime => file position pointer index file for
use with get between. This would allow you to have one large flat file that
can be accessed like a series of little files without modifying the existing
codebase much.


cheers

James

Reply via email to