in reply to Content of one file to another file if a filed matches
This is a FAQ. Please see perlfaq4 on "difference".