Perl::Critic::Policy::CodeLayout::RequireSpaceAroundBinaryOperators - put spaces around operators
This policy as a part of the Perl::Critic::PolicyBundle::SNEZ distribution.
Squashing operators and operands together produces less readable code. Put spaces around binary operators.
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.
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.