in reply to Re: Flocking and In-place editing
in thread Flocking and In-place editing

Seems to me there's a race condition, since perl will open/rename/read all within the <> operator. You may want to not use the built-in inplace edit but code your own.