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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Devel-GlobalDestruction | 0.14 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-Devel-GlobalDestruction | 0.14 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Devel-GlobalDestruction | 0.14p0 newest | no data | - | Andrew Fresh <[email protected]> | - |
| NetBSD | devel/p5-Devel-GlobalDestruction | 0.14nb10 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-Devel-GlobalDestruction | 0.14 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Devel-GlobalDestruction | 0.14 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Devel-GlobalDestruction | 0.14 newest | no data | - | [email protected] | - |
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
p5-Sub-Exporter-Progressive>=0.001011: devel/p5-Sub-Exporter-Progressive
Runtime 1
p5-Sub-Exporter-Progressive>=0.001011: devel/p5-Sub-Exporter-Progressive
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
| File | Size | SHA256 |
|---|---|---|
| Devel-GlobalDestruction-0.14.tar.gz | 10041 | 34b8a5f29991311468fe6913cadaba75fd5d2b0b3ee3bb41fe5b53efab9154ab |
Master sites 1
- CPAN