NAME
Array::Stream::Transactional::Matcher::Flow - Rules implementing sequences and repetitions.
DESCRIPTION
Array::Stream::Transactional::Matcher::Flow implements standard flow rules such as an ordered sequence, a repetition and optional rules
RULES
Array::Stream::Transactional::Matcher::Flow::sequence
Implements a sequence of rules which must match in the order they are defined.
Array::Stream::Transactional::Matcher::Flow::repetition
Implements a repetition of a specific rule that must match a specified number of times.
- new ( $RULE, $MIN, $MAX )
-
Creates a repetition rule that must match minimum $MIN times and maximum $MAX times. If $MAX is ommited, the rule must match at least $MIN times.
Array::Stream::Transactional::Matcher::Flow::optional
Implements an optional rule that may match.
EXPORT
None by default.
AUTHOR
Claes Jacobsson, claesjac@cpan.org
COPYRIGHT AND LICENSE
Copyright 2004 by Claes Jacobsson
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.