Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Tie-Cycle | Distribution: openSUSE:Factory:zSystems |
Version: 1.228.0 | Vendor: openSUSE |
Release: 2.2 | Build date: Sat Mar 9 00:06:36 2024 |
Group: Unspecified | Build host: reproducible |
Size: 19507 | Source RPM: perl-Tie-Cycle-1.228.0-2.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/Tie-Cycle | |
Summary: 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.
Artistic-2.0
* Fri Mar 08 2024 Tina Müller <tina.mueller@suse.com> - Fix disabling of __perllib_provides * Mon Feb 05 2024 Tina Müller <timueller+perl@suse.de> - updated to 1.228 see /usr/share/doc/packages/perl-Tie-Cycle/Changes 1.228 2024-02-04T06:40:57Z * refresh distro, update email address * Sun Jan 09 2022 Tina Müller <timueller+perl@suse.de> - updated to 1.227 see /usr/share/doc/packages/perl-Tie-Cycle/Changes 1.227 2022-01-08T21:25:01Z * No code changes. Fix a link in the README.pod. * Wed Jan 13 2021 Tina Müller <timueller+perl@suse.de> - updated to 1.226 see /usr/share/doc/packages/perl-Tie-Cycle/Changes 1.226 2021-01-12T09:38:15Z * Freshening the distro, Travis is gone, Github Actions are in. * Mon Jul 10 2017 coolo@suse.com - updated to 1.225 see /usr/share/doc/packages/perl-Tie-Cycle/Changes 1.225 2017-07-09T17:49:10Z * Bump the version to reindex (See https://github.com/andk/pause/issues/248 ) * Wed Apr 19 2017 coolo@suse.com - updated to 1.224 see /usr/share/doc/packages/perl-Tie-Cycle/Changes 1.224 2017-04-18T11:41:22Z * Fix up various dist things and clarify that this is under the Artistic License 2.0. * Tue Feb 14 2017 coolo@suse.com - updated to 1.222 see /usr/share/doc/packages/perl-Tie-Cycle/Changes 1.222 2017-01-20T11:30:37Z * The module seems to have disappeared from CPAN, so I'm re-uploading. * Sun Feb 07 2016 coolo@suse.com - updated to 1.221 see /usr/share/doc/packages/perl-Tie-Cycle/Changes * Tue Apr 14 2015 coolo@suse.com - updated to 1.21 see /usr/share/doc/packages/perl-Tie-Cycle/Changes 1.21 - Fri Oct 3 22:08:25 2014 * Update Makefile for better META data 1.19_01 - Mon Sep 2 10:51:42 2013 * Take out // (5.10 feature I used without thought) to restore 5.8 compatibility. * Fri Oct 04 2013 coolo@suse.com - updated to 1.19 * Update for modern usage, better code * I use this as an example in Mastering Perl, so I shouldn't leave embarrassing practices in the code. :)
/usr/lib/perl5/vendor_perl/5.40.0/Tie /usr/lib/perl5/vendor_perl/5.40.0/Tie/Cycle.pm /usr/share/doc/packages/perl-Tie-Cycle /usr/share/doc/packages/perl-Tie-Cycle/CONTRIBUTING.md /usr/share/doc/packages/perl-Tie-Cycle/Changes /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
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Nov 1 00:48:57 2024