From 2a2301c2cba9c23a5e84fdd3e54c40ecdb5c3e0b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 20 Dec 2012 22:09:46 +0100 Subject: [PATCH] perl/perlcriticrc: Don't require checking print's return value. --- perl/perlcriticrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/perl/perlcriticrc b/perl/perlcriticrc index 70c720b..ce49d50 100644 --- a/perl/perlcriticrc +++ b/perl/perlcriticrc @@ -44,6 +44,13 @@ color = 1 # IMHO "print $FH ..." is readable enough, "print {$FH} ..." is not necessary. [-InputOutput::RequireBracedFileHandleWithPrint] +# Don't require checks for print's return value. I check the return value of +# other functions like open() or close(), but checking every print is just a +# waste of time. +[InputOutput::RequireCheckedSyscalls] +functions = :builtins +exclude_functions = print + # IMHO punctuation variables are more readable than their English counterparts # (and faster in some cases). So allow the ones I use often. [Variables::ProhibitPunctuationVars] -- 2.44.1