{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Perl5 module to prevent leakage of lexical hints","compare":"/compare/p5-lexical-sealrequirehints/index.json","dependentCount":null,"description":"There is a bug in Perl's handling of the %^H (lexical hints) variable that\ncauses lexical state in one file to leak into another that is required/used\nfrom it. This bug will probably be fixed in Perl 5.10.2, and is definitely\nfixed in Perl 5.11.0, but in any earlier version it is necessary to work\naround it. On versions of Perl that require a fix, this module globally\nchanges the behaviour of require and use so that they no longer exhibit the\nbug. This is the most convenient kind of workaround, and is meant to be\ninvoked by modules that make use of lexical state.\n\nThe workaround supplied by this module takes effect the first time its\nimport method is called. Typically this will be done by means of a use\nstatement. This should be done before putting anything into %^H that would\nhave a problem with leakage; usually it suffices to do this when loading\nthe module that supplies the mechanism to set up the vulnerable lexical\nstate. Invoking this module multiple times, from multiple lexical-related\nmodules, is not a problem: the workaround is only applied once, and applies\nto everything.","flavors":[],"html":"https://daemonports.org/netbsd/devel/p5-Lexical-SealRequireHints/","kind":"port","lastUpdate":"2026-07-16T19:01:23Z","license":["gnu-gpl-v2 OR artistic"],"maintainer":"pkgsrc-users@NetBSD.org","name":"p5-Lexical-SealRequireHints","newest":true,"newestVersion":"0.012","noVulnData":false,"origin":"devel/p5-Lexical-SealRequireHints","otherSystems":[{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"devel/p5-Lexical-SealRequireHints","path":"/devel/p5-Lexical-SealRequireHints/","system":"FreeBSD","version":"0.012"},{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"devel/p5-Lexical-SealRequireHints","path":"/dragonfly/devel/p5-Lexical-SealRequireHints/","system":"DragonFly","version":"0.012"},{"maintainer":"ports@MidnightBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Lexical-SealRequireHints","path":"/midnightbsd/devel/p5-Lexical-SealRequireHints/","system":"MidnightBSD","version":"0.012"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Lexical-SealRequireHints","path":"","system":"HardenedBSD","version":"0.012"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Lexical-SealRequireHints","path":"","system":"GhostBSD","version":"0.012"}],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["0.012nb3"]},{"repo":"NetBSD 10.1 aarch64","versions":["0.012nb3"]},{"repo":"SmartOS / illumos x86_64","versions":["0.012nb3"]},{"repo":"macOS 15 arm64","versions":["0.012nb3"]}],"pkgName":"p5-Lexical-SealRequireHints-0.012nb3","related":null,"repository":"pkgsrc","requiredBy":["devel/p5-Attribute-Lexical","devel/p5-Method-Signatures"],"requiredByCount":2,"runDepends":["lang/perl5"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"0.012nb3","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Lexical-SealRequireHints"}
