5 minimums for any perl script?

Mark Fowler mark at twoshortplanks.com
Mon Jan 30 16:19:19 GMT 2012


On Mon, Jan 30, 2012 at 3:40 PM, Sam Kington <sam at illuminated.co.uk> wrote:

>>> # Checking return values is a good thing. Checking the return value of
>>> # close or print STDERR is downright silly.

> In the code that we write at $WORK, any filehandle we close tends to be a log file or something, so adding extra boilerplate to our close statements would just be annoying.

Why are you doing this by hand?  Why aren't you letting autodie handle
this for you?

Mark.


More information about the london.pm mailing list