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

NAME

Perl::Critic::Policy::CodeLayout::RequireBreakBeforeOperator - multiline expressions should be broken before operator

AFFILIATION

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

DESCRIPTION

Continuations of multiline expressions are easier to spot when they begin with operators, which is unusual in Perl code. Therefore, in all multiline expressions, newlines should be placed before operators, not after.

CONFIGURATION

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

  [Perl::Critic::Policy::CodeLayout::RequireBreakBeforeOperator]
  exclude = .. +

COPYRIGHT

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