BSD Ports

devel/p5-Devel-GlobalDestruction 0.14 MidnightBSD

Expose PL_dirty, the flag which marks global destruction

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

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
MidnightBSDdevel/p5-Devel-GlobalDestruction0.14 newestno data-[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
DragonFlydevel/p5-Devel-GlobalDestruction0.14 newestnone known-[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:

mport install p5-Devel-GlobalDestruction

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Devel-GlobalDestruction>0:devel/p5-Devel-GlobalDestruction

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

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Devel::GlobalDestruction.3.gz
  • %%SITE_PERL%%/Devel/GlobalDestruction.pm
distinfo 1
FileSizeSHA256
Devel-GlobalDestruction-0.14.tar.gz1004134b8a5f29991311468fe6913cadaba75fd5d2b0b3ee3bb41fe5b53efab9154ab
Master sites 1
  • CPAN