libtie-array-iterable-perl_0.03-1_all.deb


Advertisement

Description

libtie-array-iterable-perl - module allowing creation of iterators for lists and arrays

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libtie-array-iterable-perl
Package version 0.03
Package release 1
Package architecture all
Package type deb
Installed size 104 B
Download size 18.93 KB
Official Mirror ftp.br.debian.org
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

Package Version Architecture Repository
libtie-array-iterable-perl_0.03-1_all.deb 0.03 all Debian Main
libtie-array-iterable-perl - - -

Requires

Name Value
perl -

Download

Type URL
Binary Package libtie-array-iterable-perl_0.03-1_all.deb
Source Package libtie-array-iterable-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libtie-array-iterable-perl deb package:
    # sudo apt-get install libtie-array-iterable-perl

Files

Path
/usr/share/doc/libtie-array-iterable-perl/changelog.Debian.gz
/usr/share/doc/libtie-array-iterable-perl/changelog.gz
/usr/share/doc/libtie-array-iterable-perl/copyright
/usr/share/man/man3/Tie::Array::Iterable.3pm.gz
/usr/share/man/man3/Tie::Array::Iterable::BackwardIterator.3pm.gz
/usr/share/man/man3/Tie::Array::Iterable::ForwardIterator.3pm.gz
/usr/share/perl5/Tie/Array/Iterable.pm
/usr/share/perl5/Tie/Array/Iterable/BackwardIterator.pm
/usr/share/perl5/Tie/Array/Iterable/ForwardIterator.pm

Changelog

2011-07-25 - Julien Vaubourg <julien@vaubourg.com>
libtie-array-iterable-perl (0.03-1) unstable; urgency=low
* Initial Release. (Closes: #635374)

See Also

Package Description
libtie-array-sorted-perl_1.41-2_all.deb An array which is kept sorted
libtie-cache-perl_0.17-4_all.deb perl Tie::Cache - LRU Cache in Memory
libtie-cphash-perl_1.06-1_all.deb module for managing a case preserving but case insensitive hash table
libtie-cycle-perl_1.21-1_all.deb module for cycling through a list of values via a scalar
libtie-dbi-perl_1.06-1_all.deb module tying hashes to relational databases
libtie-dxhash-perl_1.05-1_all.deb Perl module that keeps insertion order in hash
libtie-encryptedhash-perl_1.24-1_all.deb module for encrypted hashes and objects based on hashes
libtie-hash-regex-perl_1.02-1_all.deb module to match hash keys using regular expressions
libtie-ical-perl_0.15-1_all.deb module for tieing iCal files to Perl hashes
libtie-ixhash-perl_1.23-1_all.deb Perl module to order associative arrays
libtie-persistent-perl_1.00-1_all.deb tied interface to persistent file
libtie-refhash-weak-perl_0.09-1_all.deb Tie::RefHash subclass with weakened references in the keys
libtie-shadowhash-perl_1.00-1_all.deb Merge multiple data sources into a hash
libtie-simple-perl_1.03-1_all.deb simple way to tie Perl variables
libtie-toobject-perl_0.03-3_all.deb module for tying to an existing object
Advertisement
Advertisement