Subject: | Suggested policy: say 'x' instead of print "x\n" |
If perl 5.10 is installed, then perlcritic should suggest changing
print "hello\n";
to
say 'hello';
One awkwardness is that 'say' is disabled in perl 5.10 unless the
program has 'use 5.010'. So you might want to conditionalize the policy
on that too.