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 Leap 15.2 |
Version: 1.225 | Vendor: openSUSE |
Release: lp152.3.2 | Build date: Fri Sep 20 18:21:25 2019 |
Group: Development/Libraries/Perl | Build host: lamb07 |
Size: 18243 | Source RPM: perl-Tie-Cycle-1.225-lp152.3.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/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
* 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.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/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, Tue Jul 9 11:27:19 2024