in reply to How to modify/delete records in a flat-file database?
Is it too much to ask why you aren't using a "real" database? It doesn't even need to be some complicated extra process, just install DBD::Sqlite which is a self contained database in one file. All this icky stuff will be handled transparently for you =].
In Section
Seekers of Perl Wisdom