$iterator = Ierator::Flex::Grep->new( $coderef, $iterable );
Returns an iterator equivalent to running grep on $iterable
with the specified code. $iteratable
is converted into an iterator (if it is not already one) via $class-
to_iterator>, which defaults to "to_iterable" in Iterator::Flex::Base).
CODE
is not run if $iterable
returns undef (that is, it is exhausted).
The iterator supports the following methods:
- next
- reset
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 17:
Unknown directive: =method