{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Sane scoping of function/variable attributes","compare":null,"dependentCount":null,"description":"This module manages attributes that can be attached to subroutine and\nvariable declarations. Although it can be used directly, it is mainly\nintended to be infrastructure for modules that supply particular attribute\nsemantics.\n\nMeanings are assigned to attributes by code which is usually supplied by\nmodules and which runs at compile time. The built-in mechanism for attribute\ncontrol is awkward to use, difficult in particular to enable multiple\nattributes supplied by different modules, and it scopes attribute meanings\naccording to the package of the object to which attributes are being\napplied. This module is intended to overcome these limitations.\n\nThis module supplies a simple pragma to declare an attribute, associating\nthe attribute's name with a handler function that implements its semantics.\nThe declaration is lexically scoped, lasting only until the end of the\nenclosing block. A declaration can be overridden, giving an attribute name\na different meaning or making it meaningless, in an inner nested block.","flavors":[],"html":"https://daemonports.org/netbsd/devel/p5-Attribute-Lexical/","kind":"port","lastUpdate":"2026-07-16T19:01:23Z","license":["gnu-gpl-v2 OR artistic"],"maintainer":"pkgsrc-users@NetBSD.org","name":"p5-Attribute-Lexical","newest":false,"newestVersion":null,"noVulnData":false,"origin":"devel/p5-Attribute-Lexical","otherSystems":[],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["0.005nb9"]},{"repo":"NetBSD 10.1 aarch64","versions":["0.005nb9"]},{"repo":"SmartOS / illumos x86_64","versions":["0.005nb9"]},{"repo":"macOS 15 arm64","versions":["0.005nb9"]}],"pkgName":"p5-Attribute-Lexical-0.005nb9","related":null,"repository":"pkgsrc","requiredBy":[],"requiredByCount":0,"runDepends":["devel/p5-Lexical-SealRequireHints","devel/p5-Params-Classify","lang/perl5"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"0.005nb9","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Attribute-Lexical"}
