Array::Stream::Transactional::Matcher::Logical - Rules implementing logical operators
Array::Stream::Transactional::Matcher::Logical implements the standard logical operators and, or, xor and not.
N-ary logical AND.
Creates a new AND rule where each rule in @RULES must be true for this rule to be true.
N-ary logical OR.
Creates a new OR rule where one or more rules in @RULES must be true for this rule to be true.
N-ary logical XOR.
Creates a new XOR rule. If first rule in @RULES is true, then the followingrule must be false. If the first rule in @RULES is false, then the following must be true. If there are more than two rules, the following rule must be the inverse of the previous otherwise this rule will be false.
N-ary logical NOT.
Creates a new NOT rule. All rules in @RULES must be false for this rule to be true.
None by default.
Claes Jacobsson, <claesjac@cpan.org>
Copyright 2004 by Claes Jacobsson
This library is free software; you can redistribute it and/or modify it under the same license terms as Perl itself.
To install Array::Stream::Transactional::Matcher, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Array::Stream::Transactional::Matcher
CPAN shell
perl -MCPAN -e shell install Array::Stream::Transactional::Matcher
For more information on module installation, please visit the detailed CPAN module installation guide.