libtie-array-iterable-perl_0.03-1_i386.changes is NEW
Debian FTP Masters
ftpmaster at ftp-master.debian.org
Tue Jul 26 09:49:48 UTC 2011
(new) libtie-array-iterable-perl_0.03-1.debian.tar.gz optional perl
(new) libtie-array-iterable-perl_0.03-1.dsc optional perl
(new) libtie-array-iterable-perl_0.03-1_all.deb optional perl
module allowing creation of iterators for lists and arrays
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.
(new) libtie-array-iterable-perl_0.03.orig.tar.gz optional perl
Changes: libtie-array-iterable-perl (0.03-1) unstable; urgency=low
.
* Initial Release. (Closes: #635374)
Override entries for your package:
Announcing to debian-devel-changes at lists.debian.org
Closing bugs: 635374
Your package contains new components which requires manual editing of
the override file. It is ok otherwise, so please be patient. New
packages are usually added to the override file about once a week.
You may have gotten the distribution wrong. You'll get warnings above
if files already exist in other distributions.
More information about the pkg-perl-maintainers
mailing list