libtie-cycle-perl_1.21-1_all.deb


Advertisement

Description

libtie-cycle-perl - module for cycling through a list of values via a scalar

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libtie-cycle-perl
Package version: 1.21
Package release: 1
Package architecture: all
Package type: deb
Installed size: 49 B
Download size: 7.88 KB
Official Mirror: ftp.br.debian.org
You use Tie::Cycle to go through a list over and over again. Once you get to the end of the list, you go back to the beginning. You don't have to worry about any of this since the magic of tie does that for you. The tie takes an array reference as its third argument. The tie should succeed unless the argument is not an array reference. Previous versions required you to use an array that had more than one element (what's the pointing of looping otherwise?), but I've removed that restriction since the number of elements you want to use may change depending on the situation. During the tie, this module makes a shallow copy of the array reference. If the array reference contains references, and those references are changed after the tie, the elements of the cycle will change as well. See the included test.pl script for an example of this effect.

Alternatives

Requires

    Download

    Source package: libtie-cycle-perl

    Install Howto

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

    Files

    • /usr/share/doc/libtie-cycle-perl/changelog.Debian.gz
    • /usr/share/doc/libtie-cycle-perl/changelog.gz
    • /usr/share/doc/libtie-cycle-perl/copyright
    • /usr/share/man/man3/Tie::Cycle.3pm.gz
    • /usr/share/perl5/Tie/Cycle.pm

    Changelog

    2014-10-17 - gregor herrmann <gregoa@debian.org> libtie-cycle-perl (1.21-1) unstable; urgency=medium [ gregor herrmann ] * Strip trailing slash from metacpan URLs. [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend [ gregor herrmann ] * Import upstream version 1.21 * Update years of packaging copyright. * Mark package as autopkgtest-able. * Declare compliance with Debian Policy 3.9.6.

    2013-10-11 - gregor herrmann <gregoa@debian.org> libtie-cycle-perl (1.19-1) unstable; urgency=low * New upstream release. * Drop manpage-section.patch, not needed anymore. * Update years of upstream copyright. * Build depend on Test::More 0.95.

    2013-01-18 - gregor herrmann <gregoa@debian.org> libtie-cycle-perl (1.17-1) unstable; urgency=low * Initial release (closes: #698457).

    Advertisement
    Advertisement