Perl::Critic::Policy::Bangs::ProhibitBitwiseOperators - Bitwise operators are usually accidentally used instead of logical boolean operators.


Perl-Critic-Bangs documentation  | view source Contained in the Perl-Critic-Bangs distribution.

Index


NAME

Top

Perl::Critic::Policy::Bangs::ProhibitBitwiseOperators - Bitwise operators are usually accidentally used instead of logical boolean operators.

AFFILIATION

Top

This Policy is part of the Perl::Critic::Bangs distribution.

DESCRIPTION

Top

Bitwise operators are usually accidentally used instead of logical boolean operators. Instead of writing $a || $b, people will often write $a | $b, which is not correct.

CONFIGURATION

Top

This policy cannot be configured.

AUTHOR

Top

Mike O'Regan <moregan@stresscafe.com>

COPYRIGHT

Top


Perl-Critic-Bangs documentation  | view source Contained in the Perl-Critic-Bangs distribution.