Perl::Critic::Policy::CodeLayout::RequireBreakBeforeOperator - multiline expressions should be broken before operator
This policy as a part of the Perl::Critic::PolicyBundle::SNEZ distribution.
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.
Operators can be exempt from this rule with the exclude parameter:
[Perl::Critic::Policy::CodeLayout::RequireBreakBeforeOperator] exclude = .. +
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.