http://www.perlmonks.org?node_id=533696


in reply to Re^2: How do I tell if a handle is open for writing?
in thread How do I tell if a handle is open for writing?

It should write an EOF at the position (on Win that is, or was it FAT-filesystem only?) and everything after it would be lost. Of course perl could intervene and take it to mean a check for writability, and then use other means to check and get you the result. But I would first seek to EOF.
  • Comment on Re^3: How do I tell if a handle is open for writing?