Path to this page:
./
devel/p5-Test-Refcount,
Assert reference counts on objects
Branch: pkgsrc-2014Q4,
Version: 0.07nb1,
Package name: p5-Test-Refcount-0.07nb1,
Maintainer: pkgsrc-usersThe Perl garbage collector uses simple reference counting during the normal
execution of a program. This means that cycles or unweakened references in
other parts of code can keep an object around for longer than intended. To
help avoid this problem, the reference count of a new object from its class
constructor ought to be 1. This way, the caller can know the object will be
properly DESTROYed when it drops all of its references to it.
Master sites: (Expand)
SHA1: 5d7b7f17db8d2735568e4f8e4e6dc1176e35b95f
RMD160: 70afc2f6b81441c3ac5118c37ba27ae5e6938d9b
Filesize: 15.579 KB
Version history: (Expand)
- (2014-12-30) Package added to pkgsrc.se, version p5-Test-Refcount-0.07nb1 (created)