./devel/p5-Test-Refcount, Assert reference counts on objects

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2015Q4, Version: 0.08nb1, Package name: p5-Test-Refcount-0.08nb1, Maintainer: pkgsrc-users

The 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.


Required to run:
[lang/perl5]

Required to build:
[devel/p5-Module-Build]

Master sites: (Expand)

SHA1: 320ca502381dbc8443881a5b95a83617937b170a
RMD160: cda497f58ffed3e7ba5aacd06f7662b02a8ea3ba
Filesize: 17.155 KB

Version history: (Expand)