From 5d7f0cc6b7ac2c737a34a3f835ceeba0598d5a7d Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Thu, 21 Jan 2016 10:15:23 -0500 Subject: [PATCH] Bug 15646: Make perlcritic ignore print return codes. If we ever want to get to perlcritic level 1, it doesn't make sense to require: my $ignore = print "Hello World!\n"; This patch ignores the return value for the print function. --- perlcriticrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perlcriticrc b/perlcriticrc index d7e5e42..eb4e4ea 100644 --- a/perlcriticrc +++ b/perlcriticrc @@ -14,3 +14,6 @@ equivalent_modules = Modern::Perl [-Modules::RequireBarewordIncludes] +[InputOutput::RequireCheckedSyscalls] +functions = :builtins +exclude_functions = print -- 2.1.4