Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> perl >> liblexical-var-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: liblexical-var-perl  ]

套件: liblexical-var-perl (0.009-3build7)

Perl module for using static variables without namespace pollution

Lexical::Var implements lexical scoping of subroutines. Although it can be used directly, it is mainly intended to be infrastructure for modules that manage namespaces.

This module influences the meaning of single-part subroutine names that appear directly in code, such as "&foo" and "foo(123)". Normally, in the absence of any particular declaration, these would refer to the subroutine of that name located in the current package. A Lexical::Sub declaration can change this to refer to any particular subroutine, bypassing the package system entirely. A subroutine name that includes an explicit package part, such as "&main::foo", always refers to the subroutine in the specified package, and is unaffected by this module. A symbolic reference through a string value, such as "&{'foo'}", also looks in the package system, and so is unaffected by this module.

The types of name that can be influenced are scalar ("$foo"), array ("@foo"), hash ("%foo"), subroutine ("&foo"), and glob ("*foo").

其他與 liblexical-var-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libc6 (>= 2.17) [arm64, ppc64el]
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
    dep: libc6 (>= 2.4) [amd64, armhf]
  • dep: liblexical-sealrequirehints-perl
    Perl module to prevent the leakage of lexical hints
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.34.0
    本虛擬套件由這些套件提供: perl-base

下載 liblexical-var-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 22.0 kB67 kB [文件列表]
arm64 21.6 kB59 kB [文件列表]
armhf 20.8 kB54 kB [文件列表]
ppc64el 22.6 kB175 kB [文件列表]