OpenBSD ports

The devel/p5-Devel-Leak-Object port

p5-Devel-Leak-Object-1.01p0 – finding memory leaks in perl objects

Description

This module provides tracking of objects, for the purpose of detecting
memory leaks due to circular references or innappropriate caching
schemes.

Object tracking can be enabled on a per object basis. Any objects
thus tracked are remembered until DESTROYed; details of any objects
left are printed out to STDERR at END-time.

Of particular interest is 
use Devel::Leak::Object qw{ GLOBAL_bless };

which overrides CORE::bless to give a full tally of all objects at END {}

WWW: https://metacpan.org/release/Devel-Leak-Object
Categories:
devel perl5

Library dependencies

Build dependencies

Run dependencies