in reply to Read / Write Server
I'm confused now. I just read that closing the filehandle automatically flush the IO Buffer.
Also, the new ways of flushing the buffer all use a different approach from opening files for writing or reading.
My approach was supposed to be the most secure way of doing it, I am unsure if it is still the case or if I am just completely outdated.