perl-Tie-Array-Iterable-0.30.0-3-rosa.lts2012.0.noarch.rpm


Advertisement

Description

perl-Tie-Array-Iterable - Forward Iterator object

Distribution: ROSA Enterprise Desktop
Repository: ROSA Contrib Updates x86_64
Package name: perl-Tie-Array-Iterable
Package version: 0.30.0
Package release: 3-rosa.lts2012.0
Package architecture: noarch
Package type: rpm
Installed size: 35.67 KB
Download size: 18.28 KB
Official Mirror: mirror.rosalab.ru
'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.

Alternatives

Provides

  • perl(Tie::Array::Iterable)
  • perl(Tie::Array::Iterable::BackwardIterator)
  • perl(Tie::Array::Iterable::ForwardIterator)
  • perl-Tie-Array-Iterable == 0.30.0-3:2012.0

    Install Howto

    1. Enable ROSA Contrib Updates repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Tie-Array-Iterable rpm package:
      # urpmi perl-Tie-Array-Iterable

    Files

    • /usr/lib/perl5/vendor_perl/5.12.3/Tie/
    • /usr/lib/perl5/vendor_perl/5.12.3/Tie/Array/Iterable.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/Tie/Array/Iterable/BackwardIterator.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/Tie/Array/Iterable/ForwardIterator.pm
    • /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

    Changelog

    2011-04-18 - Funda Wang <fwang@mandriva.org> 0.30.0-3mdv2011.0 + Revision: 655237 - rebuild for updated spec-helper

    2009-11-16 - J?r?me Quelin <jquelin@mandriva.org> 0.30.0-2mdv2011.0 + Revision: 466616 - rebuild - import perl-Tie-Array-Iterable

    2009-10-18 - cpan2dist 0.03-1mdv - initial mdv release, generated with cpan2dist

    Advertisement
    Advertisement