BSD Ports

devel/p5-Devel-GlobalDestruction 0.14 DragonFly

Expose PL_dirty, the flag which marks global destruction

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
6.8 KiB, 11.5 KiB installed

Description

Perl's global destruction is a little tricky to deal with WRT finalizers because it's not ordered and objects can sometimes disappear.

Writing defensive destructors is hard and annoying, and usually if global destruction is happenning you only need the destructors that free up non process local resources to actually execute.

For these constructors you can avoid the mess by simply bailing out if global destruction is in effect.

In the other systems

The newest version among them is 0.14, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Devel-GlobalDestruction0.14 newestnone known-[email protected]-
FreeBSDdevel/p5-Devel-GlobalDestruction0.14 newestnone known-[email protected]-
OpenBSDdevel/p5-Devel-GlobalDestruction0.14p0 newestno data-Andrew Fresh <[email protected]>-
NetBSDdevel/p5-Devel-GlobalDestruction0.14nb10 newestnone known-[email protected]2026-07-16
MidnightBSDdevel/p5-Devel-GlobalDestruction0.14 newestno data-[email protected]-
HardenedBSDdevel/p5-Devel-GlobalDestruction0.14 newestno data-[email protected]-
GhostBSDdevel/p5-Devel-GlobalDestruction0.14 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Devel-GlobalDestruction

From DPorts:

cd /usr/dports/devel/p5-Devel-GlobalDestruction && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2