Package: perl-Test-Refcount (0.10-bp156.3.1)
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.
Package information
- Homepage
- [https://metacpan.org/release/Test-Refcount]
- License
- Artistic-1.0 OR GPL-1.0-or-later
- Maintainer del pacchetto downstream
- Sconosciuto: non segnalato nella fonte indicizzata
- Pacchetto sorgente
- [perl-Test-Refcount]
- Software project
- [perl-test-refcount]
Versions and downloads for perl-Test-Refcount
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.10-bp156.3.1leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 26 KiB | 41 KiB | list of files | perl-Test-Refcount-0.10-bp156.3.1.noarch.rpm |
About these downloads
Ogni riga è metadato dell'indice pacchetti per una versione, architettura, suite e repository. Nomi, URL e dimensioni arrivano dalla fonte; un link è un punto di recupero mutabile, non una redistribuzione OpenFactory.
Dependencies and recommendations for perl-Test-Refcount
dep: perl(:MODULE_COMPAT_5.26.1)
Package not available
rec: perl(Devel::MAT) (>= 0.04)
Package not available
Percorsi file del pacchetto (8)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.26.1/Test
- /usr/lib/perl5/vendor_perl/5.26.1/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
Field source: openSUSE Leap 15.6 OSS
