| 1 | Source: liblist-rotation-cycle-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Section: perl |
| 4 | Testsuite: autopkgtest-pkg-perl |
| 5 | Priority: optional |
| 6 | Build-Depends: debhelper-compat (= 13) |
| 7 | Build-Depends-Indep: libtest-pod-coverage-perl, |
| 8 | libtest-pod-perl, |
| 9 | perl |
| 10 | Standards-Version: 3.9.5 |
| 11 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/liblist-rotation-cycle-perl |
| 12 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/liblist-rotation-cycle-perl.git |
| 13 | Homepage: https://metacpan.org/release/List-Rotation-Cycle |
| 14 | |
| 15 | Package: liblist-rotation-cycle-perl |
| 16 | Architecture: all |
| 17 | Depends: ${misc:Depends}, |
| 18 | ${perl:Depends} |
| 19 | Multi-Arch: foreign |
| 20 | Description: module that cycles through a list of values |
| 21 | Use List::Rotation::Cycle to loop through a list of values. Once you get to |
| 22 | the end of the list, you go back to the beginning. |
| 23 | . |
| 24 | List::Rotation::Cycle is implemented as a Singleton Pattern. You always just |
| 25 | get 1 (the very same) Cycle object even if you use the new method several |
| 26 | times. This is done by using Memoize on the new method. It returns the same |
| 27 | object for every use of new that comes with the same List of parameters. |