BSD Ports

devel/p5-List-Rotation-Cycle 1.009_1 FreeBSD

Cycle through a list of values

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

Description

Use List::Rotation::Cycle to loop through a list of values. Once you get to the end of the list, you go back to the beginning.

List::Rotation::Cycle is implemented as a Singleton Pattern. You always just get 1 (the very same) Cycle object even if you use the new method several times. This is done by using Memoize on the new method. It returns the same object for every use of new that comes with the same List of parameters.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-List-Rotation-Cycle1.009_1
DragonFlydevel/p5-List-Rotation-Cycle1.009_1

Install

Binary package:

pkg install p5-List-Rotation-Cycle

From the ports tree:

cd /usr/ports/devel/p5-List-Rotation-Cycle/ && make install clean

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

RUN_DEPENDS=	p5-List-Rotation-Cycle>0:devel/p5-List-Rotation-Cycle

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:latest1.009_11.009_11.009_11.009_11.009_1
FreeBSD:14:quarterly1.009_11.009_1n/a1.009_11.009_1
FreeBSD:15:latest1.009_11.009_1n/a1.009_11.009_1
FreeBSD:15:quarterly1.009_11.009_1n/an/an/a
FreeBSD:16:latest1.009_11.009_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/List::Rotation::Cycle.3.gz
  • %%SITE_PERL%%/List/Rotation/Cycle.pm
distinfo 1
FileSizeSHA256
List-Rotation-Cycle-1.009.tar.gz4648103f9bb9e43b4c0396218b5c919258d28ef80b89074d96cd0d0240147b9f76f6
Master sites 2
  • CPAN
  • LOCAL/chinsan/CPAN

Commit history 0

No commits in the history this site was built from.