BSD Ports

devel/p5-Devel-Leak 0.03_2 DragonFly

Utility for looking for perl objects that are not reclaimed

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

Description

Devel::Leak has two functions NoteSV and CheckSV.

NoteSV walks the perl internal table of allocated SVs (scalar values) - (which actually contains arrays and hashes too), and records their addresses in a table. It returns a count of these "things", and stores a pointer to the table (which is obtained from the heap using malloc()) in its argument.

CheckSV is passed argument which holds a pointer to a table created by NoteSV. It re-walks the perl-internals and calls sv_dump() for any "things" which did not exist when NoteSV was called. It returns a count of the number of "things" now allocated.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Devel-Leak0.03_2none known-[email protected]-
FreeBSDdevel/p5-Devel-Leak0.03_2none known-[email protected]-
OpenBSDdevel/p5-Devel-Leak0.04 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-Devel-Leak0.04nb9 newestnone known-[email protected]2026-07-16
HardenedBSDdevel/p5-Devel-Leak0.03_2no data-[email protected]-
GhostBSDdevel/p5-Devel-Leak0.03_2no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Devel-Leak

From DPorts:

cd /usr/dports/devel/p5-Devel-Leak && 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 1