NAME
Array::Stream::Transactional::Matcher::Value - Rules implementing value checks
DESCRIPTION
Array::Stream::Transactional::Matcher::Value implements the standard comparision operators eq, ne, gt, lt, ge, le and isa.
RULES
Array::Stream::Transactional::Matcher::Value::eq
Does == if it looks like a number, otherwise it does an eq
Array::Stream::Transactional::Matcher::Value::ne
Does != if it looks like a number, otherwise it does an ne
Array::Stream::Transactional::Matcher::Value::gt
Does > if it looks like a number, otherwise it does an gt
Array::Stream::Transactional::Matcher::Value::lt
Does < if it looks like a number, otherwise it does an lt
Array::Stream::Transactional::Matcher::Value::ge
Does >= if it looks like a number, otherwise it does an le
- new ( $VALUE )
-
Creates a new GE rule where the value must be greater than or equal to the value of $VALUE.
Array::Stream::Transactional::Matcher::Value::le
Does <= if it looks like a number, otherwise it does an le
- new ( $VALUE )
-
Creates a new LE rule where the value must be less than or equal tothe value of $VALUE.
Array::Stream::Transactional::Matcher::Value::isa
Checks if the value is an object and of a specific class or one of its subclasses.
- new ( $VALUE )
-
Creates a new ISA rule where the value must be an object and belongs to the class specified in $VALUE or one of its subclasses.
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.