NAME
Array::Stream::Transactional::Matcher::Logical - Rules implementing logical operators
DESCRIPTION
Array::Stream::Transactional::Matcher::Logical implements the standard logical operators and, or, xor and not.
RULES
Array::Stream::Transactional::Matcher::Logical::and
N-ary logical AND.
- new ( @RULES )
-
Creates a new AND rule where each rule in @RULES must be true for this rule to be true.
Array::Stream::Transactional::Matcher::Logical::or
N-ary logical OR.
- new ( @RULES )
-
Creates a new OR rule where one or more rules in @RULES must be true for this rule to be true.
Array::Stream::Transactional::Matcher::Logical::xor
N-ary logical XOR.
- new ( @RULES )
-
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.
Array::Stream::Transactional::Matcher::Logical::not
N-ary logical NOT.
EXPORT
None by default.
AUTHOR
Claes Jacobsson, <claesjac@cpan.org>
COPYRIGHT
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.