Array-Stream-Transactional-Matcher

 view release on metacpan or  search on metacpan

lib/Array/Stream/Transactional/Matcher/Value.pm  view on Meta::CPAN

Array::Stream::Transactional::Matcher::Value - Rules implementing value checks

=head1 DESCRIPTION

Array::Stream::Transactional::Matcher::Value implements the standard comparision operators eq, ne, gt, lt, ge, le and isa.

=head1 RULES

=head2 Array::Stream::Transactional::Matcher::Value::eq

Does B<==> if it looks like a number, otherwise it does an B<eq>

=over 4

=item new ( $VALUE )

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

=back

=head2 Array::Stream::Transactional::Matcher::Value::ne

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

=over 4

=item new ( $VALUE )

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

=back

=head2 Array::Stream::Transactional::Matcher::Value::gt

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

=over 4

=item new ( $VALUE )

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

=back

=head2 Array::Stream::Transactional::Matcher::Value::lt

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

=over 4

=item new ( $VALUE )

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

=back

=head2 Array::Stream::Transactional::Matcher::Value::ge

Does B<E<gt>=> if it looks like a number, otherwise it does an B<le>

=over 4

=item new ( $VALUE )

Creates a new GE rule where the value must be greater than or equal to the value of $VALUE.

=back

=head2 Array::Stream::Transactional::Matcher::Value::le

Does B<E<lt>=> if it looks like a number, otherwise it does an B<le>

=over 4

=item new ( $VALUE )

Creates a new LE rule where the value must be less than or equal tothe value of $VALUE.

=back

=head2 Array::Stream::Transactional::Matcher::Value::isa



( run in 0.536 second using v1.01-cache-2.11-cpan-64827b87656 )