How to Install and Uninstall libtie-array-iterable-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "libtie-array-iterable-perl" package

Please follow the guidelines below to install libtie-array-iterable-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtie-array-iterable-perl

2. Uninstall "libtie-array-iterable-perl" package

Please follow the instructions below to uninstall libtie-array-iterable-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtie-array-iterable-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtie-array-iterable-perl package on Ubuntu 21.10 (Impish Indri)

Package: libtie-array-iterable-perl
Architecture: all
Version: 0.03-2
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 50
Depends: perl
Filename: pool/universe/libt/libtie-array-iterable-perl/libtie-array-iterable-perl_0.03-2_all.deb
Size: 16552
MD5sum: ce17d07fbf8716c5d2e7873584c5df36
SHA1: ef69a6c41447fa45e71c37ab2228ac86d99e1bb2
SHA256: 6ed4ee78f0f8909a866eaa605de0c605bfc35188f151fd59e3360fad9377d0c5
SHA512: bb93a23f2a964eeed3cee8c0a722060b6864b5f44015c397e3e2d0667039eeb6f299ccbc31e3b47f0849aa8acec5e751b8bb57a6b3105b2e2bdda10aed9ba991
Homepage: https://metacpan.org/release/Tie-Array-Iterable
Description-en: 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.
Description-md5: 8542a8ea2280ef9140ae766b5bfb559e