in reply to pretrunkulation?

If you have fixed length records, you can seek to the position you want, but you will still have to read/rewrite the remainder of the file.

Basically TINWTDI (there is no way...) using the method you have asked for.

For discussion of what you can do: perldoc -q 'delete a line'.

YuckFoo