| 1 |
Source: libarray-base-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Hideki Yamane <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
libextutils-cbuilder-perl, |
| 9 |
liblexical-sealrequirehints-perl <!nocheck>, |
| 10 |
libmodule-build-perl, |
| 11 |
libtest-simple-perl <!nocheck>, |
| 12 |
perl-xs-dev, |
| 13 |
perl:native |
| 14 |
Standards-Version: 4.7.2 |
| 15 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libarray-base-perl |
| 16 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libarray-base-perl.git |
| 17 |
Homepage: https://metacpan.org/release/Array-Base |
| 18 |
Rules-Requires-Root: no |
| 19 |
|
| 20 |
Package: libarray-base-perl |
| 21 |
Architecture: any |
| 22 |
Multi-Arch: same |
| 23 |
Depends: ${misc:Depends}, |
| 24 |
${perl:Depends}, |
| 25 |
${shlibs:Depends}, |
| 26 |
liblexical-sealrequirehints-perl |
| 27 |
Description: array index offseting |
| 28 |
Array::Base implements automatic offsetting of array indices. In normal Perl, |
| 29 |
the first element of an array has index 0, the second element has index 1, |
| 30 |
and so on. This module allows array indexes to start at some other value. |
| 31 |
Most commonly it is used to give the first element of an array the index 1 |
| 32 |
(and the second 2, and so on), to imitate the indexing behaviour of FORTRAN |
| 33 |
and many other languages. It is usually considered poor style to do this. |
| 34 |
. |
| 35 |
The array index offset is controlled at compile time, in a lexically-scoped |
| 36 |
manner. Each block of code, therefore, is subject to a fixed offset. It is |
| 37 |
expected that the affected code is written with knowledge of what that offset |
| 38 |
is. |