in reply to Re^2: Detecting write errors (disk full, bad media)
in thread Detecting write errors (disk full, bad media)
Re. >>who in the world checks the return value of print?<< ... for the record, I do, IF it's writing a file likely to get very large. I didn't used to, then lost several hours of my life debugging strange behaviour in a production script which had worked fine for many months. The cause was a full disk, but the relevant print statements failed silently (even using strict and warnings) and the script happily ran to completion.