File: control

package info (click to toggle)
libtie-cycle-perl 1.21-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 112 kB
  • ctags: 13
  • sloc: perl: 51; makefile: 2
file content (35 lines) | stat: -rw-r--r-- 1,703 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Source: libtie-cycle-perl
Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa@debian.org>
Build-Depends: debhelper (>= 8)
Build-Depends-Indep: libtest-pod-coverage-perl,
                     libtest-pod-perl,
                     perl,
                     perl (>= 5.13.4) | libtest-simple-perl (>= 0.95)
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtie-cycle-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtie-cycle-perl.git
Homepage: https://metacpan.org/release/Tie-Cycle
Testsuite: autopkgtest-pkg-perl

Package: libtie-cycle-perl
Architecture: all
Depends: ${misc:Depends},
         ${perl:Depends}
Description: 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.