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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Iterator | 0.03_2 |
| OpenBSD | devel/p5-Iterator | 0.03p1 |
| DragonFly | devel/p5-Iterator | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.03_2 | 0.03_2 | 0.03_2 | 0.03_2 | 0.03_2 |
| FreeBSD:14:quarterly | 0.03_2 | 0.03_2 | n/a | 0.03_2 | 0.03_2 |
| FreeBSD:15:latest | 0.03_2 | 0.03_2 | n/a | 0.03_2 | 0.03_2 |
| FreeBSD:15:quarterly | 0.03_2 | 0.03_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.03_2 | 0.03_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Exception-Class>=0: devel/p5-Exception-Class
Runtime 1
p5-Exception-Class>=0: devel/p5-Exception-Class
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
| File | Size | SHA256 |
|---|---|---|
| Iterator-0.03.tar.gz | 22454 | 5b88a0434eb04927bd0a65e6f920f3ae6ac39b322e72e1b197018b70b0cef87f |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.