Perl::Critic::Policy::CodeLayout::RequireKRParens - parenthesise in K&R style
This policy as a part of the Perl::Critic::PolicyBundle::SNEZ distribution.
Put spaces on the outside of parentheses when they are not argument lists.
# not ok do_something (12); foreach my $elem(@array) { ... } # ok do_something(12); foreach my $elem (@array) { ... }
This Policy is not configurable except for the standard options.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Perl::Critic::PolicyBundle::SNEZ, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Critic::PolicyBundle::SNEZ
CPAN shell
perl -MCPAN -e shell install Perl::Critic::PolicyBundle::SNEZ
For more information on module installation, please visit the detailed CPAN module installation guide.