Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Test-Refcount | Distribution: openSUSE Tumbleweed |
Version: 0.10 | Vendor: openSUSE |
Release: 1.22 | Build date: Thu Jun 27 07:30:04 2019 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 42042 | Source RPM: perl-Test-Refcount-0.10-1.22.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/Test-Refcount | |
Summary: Assert reference counts on objects |
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. This module provides two test functions to help ensure this property holds for an object class, so as to be polite to its callers. If the assertion fails; that is, if the actual reference count is different to what was expected, either of the following two modules may be used to assist the developer in finding where the references are.
Artistic-1.0 OR GPL-1.0-or-later
* Thu Jun 27 2019 Stephan Kulow <coolo@suse.com> - updated to 0.10 see /usr/share/doc/packages/perl-Test-Refcount/Changes 0.10 2019-06-26 11:28:13 [BUGFIXES] * Fix unit tests to handle when both Devel::MAT and Devel::FindRef are available (RT129908) (No module code changes, purely tests) * Wed Jun 26 2019 Stephan Kulow <coolo@please-enter-an-email-address> - updated to 0.09 see /usr/share/doc/packages/perl-Test-Refcount/Changes 0.09 2019-06-25 21:06:57 [CHANGES] * Add a `refcount()` function that callers can use to build refcount-preserving tests * Adjust docs to explain more about the Devel::MAT use-case * General build file style updates * Tue Apr 14 2015 coolo@suse.com - updated to 0.08 see /usr/share/doc/packages/perl-Test-Refcount/Changes 0.08 2014/03/27 16:10:38 [CHANGES] * Optional integration with Devel::MAT if available, to heapdump the running unit test for later analysis 0.07 CHANGES: * Use pureperl core B module rather than Devel::Refcount, for avoiding XS in the deptree of a Test module * Tue Apr 14 2015 coolo@suse.com - updated to 0.07 see /usr/share/doc/packages/perl-Test-Refcount/Changes 0.07 CHANGES: * Use pureperl core B module rather than Devel::Refcount, for avoiding XS in the deptree of a Test module * Thu Mar 24 2011 pascal.bleser@opensuse.org - initial version (0.06)
/usr/lib/perl5/vendor_perl/5.40.0/Test /usr/lib/perl5/vendor_perl/5.40.0/Test/Refcount.pm /usr/share/doc/packages/perl-Test-Refcount /usr/share/doc/packages/perl-Test-Refcount/Changes /usr/share/doc/packages/perl-Test-Refcount/README /usr/share/licenses/perl-Test-Refcount /usr/share/licenses/perl-Test-Refcount/LICENSE /usr/share/man/man3/Test::Refcount.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Sep 7 23:48:34 2024