18 Jul 2022 15:51:26 UTC
- Browse (raw)
- How to Contribute
- Issues (0)
- Testers (182 / 0 / 52)
- KwaliteeBus factor: 1
- % Coverage
- License: gpl_3
- Perl: v5.28.0
- Activity24 month
- Download (73.8KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionDJERIUS Diab Jerius
Changes for version 0.15 - 2022-07-18
- BUG FIX
- resolve RT#141012, always call overload::Method with three arguments. HVDS++
- sequences did not correctly handle exhaustion => 'throw' or exhaustion => [ return => $sentinel ]
- some of the non-documented ways of handling input exhaustion didn't work as expected.
- rework Iterator::Flex::Manual:Authoring
- iterator adaptors handling of input exhaustion from their input iterators was not properly/fully documented.
DocumentationIndex of Iterator::Flex ManualsInterfacing with non- Iterator::Flex things.How to write an iteratorIterator BasicsCaveatsGlossaryHow Things WorkAn Abstract overview of IteratorsOther Iterator ModelsSerializing iteratorsHow to use an Iterator::Flex iterator
ModulesIterators with flexible behaviorsArray Iterator ClassArrayLike Iterator ClassIterator objectCache Iterator ClassIterator Generators and AdaptersArray Cycle Iterator ClassCreate on-the-fly Iterator::Flex classes/objectsFailure classes for Iterator::FlexFreeze an iterator after every nextGrep Iterator ClassMap Iterator ClassCompartmentalize Iterator::Flex::Method::MakerAn iterator which produces a Cartesian product of iteratorsIterator Methods to add Iterator::Flex Iterator modifiersImplement current as a closure stored in the registryImplement current as a methodsignal error by throwingImported iterator returns a sentinelImported iterator throwssignal exhaustion by transitioning to exhausted state and throwing exceptionsignal exhaustion by returning a sentinel value.signal exhaustion by setting exhausted flag;Role to add serialization capability to an Iterator::Flex::BaseRole for closure iterator which closes over selfConstruct a next() method for iterators without closed over $selfImplement prev as a closure stored in the registryImplement prev as a methodImplement reset as a closure stored in the registryImplement reset as a methodImplement rewind as a closure stored in the registryImplement rewind as a methodabstract interface role for StateIterator State is kept in a closure variableIterator State is kept in the registryRole based utilitieswrap imported iterator which returns a sentinel on exhaustionConstruct a next() method for a coderef which expects to be passed an object refRole to add throw on exhaustion to an iterator which adapts another iteratorNumeric Sequence Iterator ClassInternal utilities
Module Install Instructions
To install Iterator::Flex, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Iterator::Flex
For more information on module installation, please visit the detailed CPAN module installation guide.