{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Lexically scoped resource management","compare":"/compare/p5-scope-guard/index.json","dependentCount":null,"description":"This module provides a convenient way to perform cleanup or other forms of\nresource management at the end of a scope. It is particularly useful when\ndealing with exceptions: the Scope::Guard constructor takes a reference to a\nsubroutine that is guaranteed to be called even if the thread of execution is\naborted prematurely. This effectively allows lexically-scoped \"promises\" to be\nmade that are automatically honoured by perl's garbage collector.\n\nFor more info, see: http://www.drdobbs.com/cpp/184403758","flavors":[],"html":"https://daemonports.org/midnightbsd/devel/p5-Scope-Guard/","kind":"port","lastUpdate":null,"license":["artistic","gpl+"],"maintainer":"ports@MidnightBSD.org","name":"p5-Scope-Guard","newest":true,"newestVersion":"0.21","noVulnData":true,"origin":"devel/p5-Scope-Guard","otherSystems":[{"maintainer":"svysh.fbsd@gmail.com","newest":true,"origin":"devel/p5-Scope-Guard","path":"/devel/p5-Scope-Guard/","system":"FreeBSD","version":"0.21"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/p5-Scope-Guard","path":"/openbsd/devel/p5-Scope-Guard/","system":"OpenBSD","version":"0.21p0"},{"maintainer":"pkgsrc-users@NetBSD.org","newest":true,"origin":"devel/p5-Scope-Guard","path":"/netbsd/devel/p5-Scope-Guard/","system":"NetBSD","updated":"2026-07-16","version":"0.21nb11"},{"maintainer":"svysh.fbsd@gmail.com","newest":true,"origin":"devel/p5-Scope-Guard","path":"/dragonfly/devel/p5-Scope-Guard/","system":"DragonFly","version":"0.21"},{"maintainer":"svysh.fbsd@gmail.com","newest":true,"noVulnData":true,"origin":"devel/p5-Scope-Guard","path":"","system":"HardenedBSD","version":"0.21"},{"maintainer":"svysh.fbsd@gmail.com","newest":true,"noVulnData":true,"origin":"devel/p5-Scope-Guard","path":"","system":"GhostBSD","version":"0.21"}],"packages":null,"pkgName":"p5-Scope-Guard-0.21","related":null,"repository":"mports","requiredBy":["databases/p5-DBIx-Class","devel/p5-Test-File-ShareDir","devel/p5-Test2-Harness","devel/p5-autobox"],"requiredByCount":4,"runDepends":[],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"0.21","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Scope-Guard"}
