Package: liblist-rotation-cycle-perl (1.009-1.1)
Links for liblist-rotation-cycle-perl
Download Source Package liblist-rotation-cycle-perl:
- Homepage [metacpan.org]
module that cycles through a list of values
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.
Other Packages Related to liblist-rotation-cycle-perl
- dep: perl
- Larry Wall's Practical Extraction and Report Language