devel/p5-Attribute-Lexical - The NetBSD Packages Collection

Sane scoping of function/variable attributes

This module manages attributes that can be attached to subroutine and
variable declarations. Although it can be used directly, it is mainly
intended to be infrastructure for modules that supply particular attribute
semantics.

Meanings are assigned to attributes by code which is usually supplied by
modules and which runs at compile time. The built-in mechanism for attribute
control is awkward to use, difficult in particular to enable multiple
attributes supplied by different modules, and it scopes attribute meanings
according to the package of the object to which attributes are being
applied. This module is intended to overcome these limitations.

This module supplies a simple pragma to declare an attribute, associating
the attribute's name with a handler function that implements its semantics.
The declaration is lexically scoped, lasting only until the end of the
enclosing block. A declaration can be overridden, giving an attribute name
a different meaning or making it meaningless, in an inner nested block.

Build dependencies

devel/p5-Module-Build pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/p5-Lexical-SealRequireHints devel/p5-Params-Classify lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0aarch64p5-Attribute-Lexical-0.005nb5.tgz
NetBSD 10.0aarch64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0aarch64ebp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0aarch64ebp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0alphap5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0earmv6hfp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0earmv6hfp5-Attribute-Lexical-0.005nb5.tgz
NetBSD 10.0earmv6hfp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0earmv7hfp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0earmv7hfp5-Attribute-Lexical-0.005nb5.tgz
NetBSD 10.0earmv7hfp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0i386p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0i386p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0powerpcp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0vaxp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0x86_64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 10.0_BETAx86_64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 8.0i386p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 8.0i386p5-Attribute-Lexical-0.005nb5.tgz
NetBSD 8.0i386p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 8.0powerpcp5-Attribute-Lexical-0.005nb5.tgz
NetBSD 8.0powerpcp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 8.0powerpcp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 8.0x86_64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 8.0x86_64p5-Attribute-Lexical-0.005nb5.tgz
NetBSD 8.0x86_64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0aarch64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0aarch64p5-Attribute-Lexical-0.005nb5.tgz
NetBSD 9.0aarch64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0alphap5-Attribute-Lexical-0.005nb5.tgz
NetBSD 9.0alphap5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0earmv6hfp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0earmv6hfp5-Attribute-Lexical-0.005nb5.tgz
NetBSD 9.0earmv6hfp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0earmv7hfp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0earmv7hfp5-Attribute-Lexical-0.005nb5.tgz
NetBSD 9.0earmv7hfp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0i386p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0i386p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0mips64ebp5-Attribute-Lexical-0.005nb5.tgz
NetBSD 9.0powerpcp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0powerpcp5-Attribute-Lexical-0.005nb5.tgz
NetBSD 9.0powerpcp5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0sparc64p5-Attribute-Lexical-0.005nb5.tgz
NetBSD 9.0sparcp5-Attribute-Lexical-0.005nb5.tgz
NetBSD 9.0vaxp5-Attribute-Lexical-0.005nb5.tgz
NetBSD 9.0x86_64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.0x86_64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.3x86_64p5-Attribute-Lexical-0.005nb6.tgz
NetBSD 9.3x86_64p5-Attribute-Lexical-0.005nb6.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.