NAME

Perl::Critic::Policy::CodeLayout::RequireKRParens - parenthesise in K&R style

AFFILIATION

This policy as a part of the Perl::Critic::PolicyBundle::SNEZ distribution.

DESCRIPTION

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) {
    ...
}

CONFIGURATION

This Policy is not configurable except for the standard options.

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.