Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Tie-Array-Iterable | Distribution: Mageia |
Version: 0.30.0 | Vendor: Mageia.Org |
Release: 11.mga9 | Build date: Sun Mar 20 15:31:18 2022 |
Group: Development/Perl | Build host: localhost |
Size: 34845 | Source RPM: perl-Tie-Array-Iterable-0.30.0-11.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/Tie-Array-Iterable | |
Summary: Forward Iterator object |
'Tie::Hash::Iterable' allows one to create iterators for lists and arrays. The concept of iterators is borrowed from the C++ STL [1], in which most of the collections have iterators, though this class does not attempt to fully mimic it. Typically, in C/C++ or Perl, the 'easy' way to visit each item on a list is to use a counter, and then a for( ;; ) loop. However, this requires knowledge on how long the array is to know when to end. In addition, if items are removed or inserted into the array during the loop, then the counter will be incorrect on the next run through the loop, and will cause problems. While some aspects of this are fixed in Perl by the use of for or foreach, these commands still suffer when items are removed or added to the array while in these loops. Also, if one wished to use break to step out of a foreach loop, then restart where they left at some later point, there is no way to do this without maintaining some additional state information.
GPL+ or Artistic
* Sun Mar 20 2022 umeabot <umeabot> 0.30.0-11.mga9 + Revision: 1806412 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-Tie-Array-Iterable /usr/share/doc/perl-Tie-Array-Iterable/Changes /usr/share/doc/perl-Tie-Array-Iterable/README /usr/share/man/man3/Tie::Array::Iterable.3pm.xz /usr/share/man/man3/Tie::Array::Iterable::BackwardIterator.3pm.xz /usr/share/man/man3/Tie::Array::Iterable::ForwardIterator.3pm.xz /usr/share/perl5/vendor_perl/Tie /usr/share/perl5/vendor_perl/Tie/Array /usr/share/perl5/vendor_perl/Tie/Array/Iterable /usr/share/perl5/vendor_perl/Tie/Array/Iterable.pm /usr/share/perl5/vendor_perl/Tie/Array/Iterable/BackwardIterator.pm /usr/share/perl5/vendor_perl/Tie/Array/Iterable/ForwardIterator.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 22 09:05:03 2025