The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Perl::Critic::Policy::CodeLayout::RequireSpaceAroundBinaryOperators - put spaces around operators

AFFILIATION

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

DESCRIPTION

Squashing operators and operands together produces less readable code. Put spaces around binary operators.

CONFIGURATION

Operators can be exempt from this rule with the exclude parameter:

  [Perl::Critic::Policy::CodeLayout::RequireSpaceAroundBinaryOperators]
  exclude = ** -> x

Note that ** and -> are excluded by default.

COPYRIGHT

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