X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=perl%2Fperlcriticrc;h=ce49d500fa9b3121a27146556850cc45f6f0f9ce;hb=733df0002c03b0c503cb09b970c78a6dd54a4793;hp=70c720b1406607db191daa3ee515d10e7458bf3d;hpb=eb898451b47ab9260a26ec20fa481ec77ffe7a51;p=config%2Fdotfiles.git 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]