openbsd-ports/devel/p5-Iterator/pkg/DESCR
benoit de88261818 import p5-Iterator;
a general-purpose iterator class.
2010-12-30 10:39:31 +00:00

9 lines
415 B
Plaintext

This module is meant to be the definitive implementation of
iterators, as popularized by Mark Jason Dominus's lectures and
recent book (_Higher Order Perl_, Morgan Kauffman, 2005).
An "iterator" is an object, represented as a code block that
generates the "next value" of a sequence, and generally
implemented as a closure. Iterator.pm provides a class that
simplifies creation and use of these iterator objects.