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