http://qs321.pair.com?node_id=708866


in reply to Re: Read from temp file
in thread Read from temp file

which is why $fh is opened for writing only
The filehandle is opened read-write.