devel/p5-List-Rotation-Cycle 1.009_1 DragonFly
Cycle through a list of values
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 6.1 KiB, 10.3 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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-List-Rotation-Cycle | 1.009_1 |
| FreeBSD | devel/p5-List-Rotation-Cycle | 1.009_1 |
| HardenedBSD | devel/p5-List-Rotation-Cycle | 1.009_1 |
| GhostBSD | devel/p5-List-Rotation-Cycle | 1.009_1 |
Install
Binary package:
pkg install p5-List-Rotation-Cycle
From DPorts:
cd /usr/dports/devel/p5-List-Rotation-Cycle && make install clean