in reply to Re^3: how to in-place update a dataset?
in thread how to in-place update a dataset?
Note, though, that Tie::File will probably have to rewrite the remainder of your file every time you change a line. It's clever, but probably not the right way to do what you want.