| 1 |
Source: liblexical-var-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Salvatore Bonaccorso <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
liblexical-sealrequirehints-perl (>= 0.12) <!nocheck>, |
| 9 |
libmodule-build-perl, |
| 10 |
perl-xs-dev, |
| 11 |
perl:native |
| 12 |
Standards-Version: 4.6.2 |
| 13 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/liblexical-var-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/liblexical-var-perl.git |
| 15 |
Homepage: https://metacpan.org/release/Lexical-Var |
| 16 |
Rules-Requires-Root: no |
| 17 |
|
| 18 |
Package: liblexical-var-perl |
| 19 |
Architecture: any |
| 20 |
Depends: ${misc:Depends}, |
| 21 |
${perl:Depends}, |
| 22 |
${shlibs:Depends}, |
| 23 |
liblexical-sealrequirehints-perl (>= 0.12) |
| 24 |
Description: Perl module for using static variables without namespace pollution |
| 25 |
Lexical::Var implements lexical scoping of subroutines. Although it can be |
| 26 |
used directly, it is mainly intended to be infrastructure for modules that |
| 27 |
manage namespaces. |
| 28 |
. |
| 29 |
This module influences the meaning of single-part subroutine names that |
| 30 |
appear directly in code, such as "&foo" and "foo(123)". Normally, in the |
| 31 |
absence of any particular declaration, these would refer to the subroutine of |
| 32 |
that name located in the current package. A Lexical::Sub declaration can |
| 33 |
change this to refer to any particular subroutine, bypassing the package |
| 34 |
system entirely. A subroutine name that includes an explicit package part, |
| 35 |
such as "&main::foo", always refers to the subroutine in the specified |
| 36 |
package, and is unaffected by this module. A symbolic reference through a |
| 37 |
string value, such as "&{'foo'}", also looks in the package system, and so is |
| 38 |
unaffected by this module. |
| 39 |
. |
| 40 |
The types of name that can be influenced are scalar ("$foo"), array |
| 41 |
("@foo"), hash ("%foo"), subroutine ("&foo"), and glob ("*foo"). |