in reply to Re: Clarification on the write read mode of filehandling
in thread Clarification on the write read mode of filehandling
Hi Corion,
Thanks a lot. Yes, it was happening because the filehandle was advancing as we write and hence any read operation on the file handle was returning a blank value. I moved the filehandle back to the previous line using seek and now it is working perfectly fine.
|
|---|