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


in reply to Re: "open" Best Practices
in thread "open" Best Practices

Yes, making the code robust in the face of (perhaps rare) environmental conditions, such as a power failure or the user pressing CTRL-C while the program is running can be surprisingly tricky to get right. Two examples I remember are: