libtie-cycle-perl 1.228-1 source package in Ubuntu
Changelog
libtie-cycle-perl (1.228-1) unstable; urgency=medium * Import upstream version 1.227. * Update years of upstream and packaging copyright. * Declare compliance with Debian Policy 4.6.0. * Import upstream version 1.228. * Update debian/upstream/metadata. * Update years of upstream and packaging copyright. * Update upstream email address. * Declare compliance with Debian Policy 4.6.2. -- gregor herrmann <email address hidden> Fri, 09 Feb 2024 00:56:48 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libtie-cycle-perl_1.228-1.dsc | 2.4 KiB | 9e5e832cc9c7ea77bdbbdd9baaf9a54c3654ab69b006634115399184d46a9c31 |
libtie-cycle-perl_1.228.orig.tar.gz | 11.4 KiB | 875651be1c657d85bcac056a76be22888395412c8e5af3d84d4c37b8fbb5b448 |
libtie-cycle-perl_1.228-1.debian.tar.xz | 5.5 KiB | 619eb9b50eb513e08f1322e88411832bfabbe27615685377f7adfa429783c046 |
Available diffs
- diff from 1.226-1 to 1.228-1 (6.5 KiB)
No changes file available.
Binary packages built by this source
- libtie-cycle-perl: module for cycling through a list of values via a scalar
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.