in reply to Halve the difference
in thread Removing old records from log files
Very clever, tachyon ++. I first thought "How do you do binary search in a file with variable-length records?" Your answer is simple and effective.
Please consider linking to this from Tutorials.
In Section
Seekers of Perl Wisdom