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: SUSE Linux Framework One |
Version: 1.227 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: slfo.1.1.3 | Build date: Mon Aug 26 10:52:01 2024 |
Group: Unspecified | Build host: h04-ch1c |
Size: 18188 | Source RPM: perl-Tie-Cycle-1.227-slfo.1.1.3.src.rpm |
Packager: https://www.suse.com/ | |
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
* Sun Jan 09 2022 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 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. :) * Fri Jun 28 2013 coolo@suse.com - initial package 1.17 * created by cpanspec 1.78.06
/usr/lib/perl5/vendor_perl/5.38.2/Tie /usr/lib/perl5/vendor_perl/5.38.2/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, Sat Nov 9 00:03:33 2024