BSD Ports

devel/p5-Iterator 0.03_2 FreeBSD

General-purpose iterator class

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
19.3 KiB, 38.6 KiB installed

Description

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. When you need a value to operate on, you pull it from the iterator. If it depends on other iterators, it pulls values from them when it needs to. Iterators can be chained together (see Iterator::Util for functions that help you do just that), queuing up work to be done but not actually doing it until a value is needed at the front end of the chain. At that time, one data value is pulled through the chain.

Iterator.pm provides a class that simplifies creation and use of these iterator objects. Other Iterator:: modules (see "SEE ALSO") provide many general-purpose and special-purpose iterator functions.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Iterator0.03_2
OpenBSDdevel/p5-Iterator0.03p1
DragonFlydevel/p5-Iterator0.03_2

Install

Binary package:

pkg install p5-Iterator

From the ports tree:

cd /usr/ports/devel/p5-Iterator/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Iterator>0:devel/p5-Iterator

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.03_20.03_20.03_20.03_20.03_2
FreeBSD:14:quarterly0.03_20.03_2n/a0.03_20.03_2
FreeBSD:15:latest0.03_20.03_2n/a0.03_20.03_2
FreeBSD:15:quarterly0.03_20.03_2n/an/an/a
FreeBSD:16:latest0.03_20.03_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 4
Run dependencies 4

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Iterator.3.gz
  • %%SITE_PERL%%/Iterator.pm
distinfo 1
FileSizeSHA256
Iterator-0.03.tar.gz224545b88a0434eb04927bd0a65e6f920f3ae6ac39b322e72e1b197018b70b0cef87f
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.