in reply to Flock and Destroy
in thread First Time Untainting Data

The problem merlyn is trying to point out is that when you open the file for writing (open (FH, ">file")), you already deleted the contents of the file regardless of any locks. From perlopentut: Hope that helps!

-- zigdon