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 36 37
|
Source: libarray-base-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Hideki Yamane <henrich@debian.org>
Section: perl
Priority: optional
Build-Depends: debhelper-compat (= 13),
libextutils-cbuilder-perl,
liblexical-sealrequirehints-perl (>= 0.008),
libmodule-build-perl,
libtest-simple-perl,
perl
Standards-Version: 4.5.0
Homepage: https://metacpan.org/release/Array-Base
Rules-Requires-Root: no
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libarray-base-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libarray-base-perl.git
Testsuite: autopkgtest-pkg-perl
Package: libarray-base-perl
Architecture: any
Depends: ${misc:Depends},
${perl:Depends},
${shlibs:Depends},
liblexical-sealrequirehints-perl (>= 0.008)
Multi-Arch: same
Description: array index offseting
Array::Base implements automatic offsetting of array indices. In normal Perl,
the first element of an array has index 0, the second element has index 1,
and so on. This module allows array indexes to start at some other value.
Most commonly it is used to give the first element of an array the index 1
(and the second 2, and so on), to imitate the indexing behaviour of FORTRAN
and many other languages. It is usually considered poor style to do this.
.
The array index offset is controlled at compile time, in a lexically-scoped
manner. Each block of code, therefore, is subject to a fixed offset. It is
expected that the affected code is written with knowledge of what that offset
is.
|