Package: perl-Tie-Cycle (1.225-1.24)
Cycle through a list of values via a scalar
You use 'Tie::Cycle' to go through a list over and over again. Once you get to the end of the list, you go back to the beginning. You don't have to worry about any of this since the magic of tie does that for you. The tie takes an array reference as its third argument. The tie should succeed unless the argument is not an array reference. Previous versions required you to use an array that had more than one element (what's the pointing of looping otherwise?), but I've removed that restriction since the number of elements you want to use may change depending on the situation. During the tie, this module makes a shallow copy of the array reference. If the array reference contains references, and those references are changed after the tie, the elements of the cycle will change as well. See the included _test.pl_ script for an example of this effect.
Package information
- Homepage
- [http://search.cpan.org/dist/Tie-Cycle/]
- License
- Artistic-2.0
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [perl-Tie-Cycle]
- Software project
- [perl-Tie-Cycle]
Versions and downloads for perl-Tie-Cycle
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 1.225-1.24leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 19 KiB | 18 KiB | list of files | perl-Tie-Cycle-1.225-1.24.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Dependencies and recommendations for perl-Tie-Cycle
dep: perl(:MODULE_COMPAT_5.26.1)
Package not available
Package file paths (11)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.26.1/Tie
- /usr/lib/perl5/vendor_perl/5.26.1/Tie/Cycle.pm
- /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
- /usr/share/doc/packages/perl-Tie-Cycle
- /usr/share/doc/packages/perl-Tie-Cycle/Changes
- /usr/share/doc/packages/perl-Tie-Cycle/CONTRIBUTING.md
- /usr/share/doc/packages/perl-Tie-Cycle/examples
- /usr/share/doc/packages/perl-Tie-Cycle/examples/README
- /usr/share/licenses/perl-Tie-Cycle
- /usr/share/licenses/perl-Tie-Cycle/LICENSE
- /usr/share/man/man3/Tie::Cycle.3pm.gz
Field source: openSUSE Leap 15.6 OSS
