open(FH, "+< file1) or die "Opening: $!"; [download]
In reply to Re: read and write to the same file by si_lence in thread read and write to the same file by dee00zee