| 1 |
Source: libtest-refcount-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: gregor herrmann <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
libmodule-build-perl |
| 9 |
Build-Depends-Indep: perl |
| 10 |
Standards-Version: 4.6.1 |
| 11 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtest-refcount-perl |
| 12 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtest-refcount-perl.git |
| 13 |
Homepage: https://metacpan.org/release/Test-Refcount |
| 14 |
Rules-Requires-Root: no |
| 15 |
|
| 16 |
Package: libtest-refcount-perl |
| 17 |
Architecture: all |
| 18 |
Depends: ${misc:Depends}, |
| 19 |
${perl:Depends} |
| 20 |
|
| 21 |
|
| 22 |
Recommends: libdevel-mat-dumper-perl |
| 23 |
Description: Perl module to assert reference counts |
| 24 |
Test::Refcount asserts that an object's reference count is as expected. Since |
| 25 |
Perl's automatic memory management algorithm uses reference counting to keep |
| 26 |
track of which 'things' (ie, scalars, objects, etc.) are in use, problems |
| 27 |
like circular references (where a variable points to itself) can prevent Perl |
| 28 |
from properly freeing them. |
| 29 |
. |
| 30 |
If the assertion fails; that is, if the actual reference count is different |
| 31 |
to what was expected, a trace of references to the object is printed, using |
| 32 |
the Devel::FindRef module. It is probably most useful as part of a |
| 33 |
comprehensive module author test suite. |