The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

new ( $VALUE )

Creates a new EQ rule where the value must be equal to the value of $VALUE.

Array::Stream::Transactional::Matcher::Value::ne

Does != if it looks like a number, otherwise it does an ne

new ( $VALUE )

Creates a new NE rule where the value must not be equal to the value of $VALUE.

Array::Stream::Transactional::Matcher::Value::gt

Does > if it looks like a number, otherwise it does an gt

new ( $VALUE )

Creates a new GT rule where the value must be greater than the value of $VALUE.

Array::Stream::Transactional::Matcher::Value::lt

Does < if it looks like a number, otherwise it does an lt

new ( $VALUE )

Creates a new LT rule where the value must be less than the value of $VALUE.

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.