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: Mageia |
Version: 0.100.0 | Vendor: Mageia.Org |
Release: 2.mga8 | Build date: Sat Feb 15 17:45:29 2020 |
Group: Development/Perl | Build host: localhost |
Size: 44929 | Source RPM: perl-Test-Refcount-0.100.0-2.mga8.src.rpm |
Packager: umeabot <umeabot> | |
Url: http://search.cpan.org/dist/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, a trace of references to the object is printed, using Marc Lehmann's the Devel::FindRef manpage module. See the examples below for more information.
GPL+ or Artistic
* Sat Feb 15 2020 umeabot <umeabot> 0.100.0-2.mga8 + Revision: 1527298 - Mageia 8 Mass Rebuild * Mon Jul 15 2019 tv <tv> 0.100.0-1.mga8 + Revision: 1421442 - update to 0.10 * Wed Sep 19 2018 umeabot <umeabot> 0.80.0-6.mga7 + Revision: 1271993 - Mageia 7 Mass Rebuild
/usr/share/doc/perl-Test-Refcount /usr/share/doc/perl-Test-Refcount/Changes /usr/share/doc/perl-Test-Refcount/LICENSE /usr/share/doc/perl-Test-Refcount/META.json /usr/share/doc/perl-Test-Refcount/META.yml /usr/share/doc/perl-Test-Refcount/MYMETA.yml /usr/share/doc/perl-Test-Refcount/README /usr/share/man/man3/Test::Refcount.3pm.xz /usr/share/perl5/vendor_perl/Test /usr/share/perl5/vendor_perl/Test/Refcount.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Oct 13 10:18:22 2024