Andy Lester > Perl-Critic-Bangs-1.11_01 > Perl::Critic::Policy::Bangs::ProhibitBitwiseOperators

Download:
Perl-Critic-Bangs-1.11_01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 1.11_01   Source   Latest Release: Perl-Critic-Bangs-1.11_02

NAME ^

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

AFFILIATION ^

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

DESCRIPTION ^

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 ^

This policy cannot be configured.

AUTHOR ^

Mike O'Regan <moregan@stresscafe.com>

COPYRIGHT ^

Copyright (C) 2006-2013 Andy Lester and Mike O'Regan

This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.

syntax highlighting: