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


in reply to Re^2: Variable being saved as a list?
in thread Variable being saved as a list?

My point being, Your Mother, that the open failure could and indeed should, be better handled since if open() fails, the error log will get extended by the subsequent write failures.

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^4: Variable being saved as a list?
by Your Mother (Bishop) on Aug 06, 2014 at 21:27 UTC

    Heh. My point being, from a UI perspective, it’s not handled at all in your “correction.” Your code would give a generic server error and is not appropriate for production. :P