http://www.perlmonks.org?node_id=106969


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.