Path to this page:
./
devel/p5-Devel-Leak-Object,
Perl module to detect leaks of objects
Branch: CURRENT,
Version: 1.02nb5,
Package name: p5-Devel-Leak-Object-1.02nb5,
Maintainer: pkgsrc-usersThis 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.
use Devel::Leak::Object qw(GLOBAL_bless);
This form overloads bless to track construction and destruction of all
objects. As an alternative, by importing bless, you can just track the
objects of the caller code that is doing the use.
If you use GLOBAL_bless to overload the bless function, please note that it
will ONLY apply to bless for modules loaded AFTER Devel::Leak::Object has
enabled the hook.
Required to run:[
lang/perl5]
Required to build:[
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 28.93 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-Devel-Leak-Object-1.02nb5
- (2023-07-06) Updated to version: p5-Devel-Leak-Object-1.02nb4
- (2022-06-28) Updated to version: p5-Devel-Leak-Object-1.02nb3
- (2021-05-25) Updated to version: p5-Devel-Leak-Object-1.02nb2
- (2020-09-01) Updated to version: p5-Devel-Leak-Object-1.02nb1
- (2020-03-21) Updated to version: p5-Devel-Leak-Object-1.02
CVS history: (Expand)