perl-Test-Refcount - Assert reference counts on objects

Property Value
Distribution Mageia Cauldron
Repository Mageia Core x86_64
Package filename perl-Test-Refcount-0.100.0-1.mga8.noarch.rpm
Package name perl-Test-Refcount
Package version 0.100.0
Package release 1.mga8
Package architecture noarch
Package type rpm
Category Development/Perl
License GPL+ or Artistic
Maintainer -
Download size 24.60 KB
Installed size 43.87 KB
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.


Package Version Architecture Repository
perl-Test-Refcount-0.100.0-1.mga8.noarch.rpm 0.100.0 noarch Mageia Core
perl-Test-Refcount - - -


Name Value
perl(B) -
perl(Scalar::Util) -
perl(Test::Builder) -
perl(Test::Builder::Module) -
perl(base) -
perl(constant) -
perl(strict) -
perl(warnings) -
perl-base >= 2:5.28.2


Name Value
perl(Test::Refcount) == 0.100.0
perl-Test-Refcount == 0.100.0-1.mga8


Type URL
Binary Package perl-Test-Refcount-0.100.0-1.mga8.noarch.rpm
Source Package perl-Test-Refcount-0.100.0-1.mga8.src.rpm

Install Howto

  1. Enable Mageia Core repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Test-Refcount rpm package:
    # urpmi perl-Test-Refcount




2019-07-15 - tv <tv> 0.100.0-1.mga8
+ Revision: 1421442
- update to 0.10
2018-09-19 - umeabot <umeabot> 0.80.0-6.mga7
+ Revision: 1271993
- Mageia 7 Mass Rebuild

See Also

Package Description
perl-Test-Regression-0.80.0-2.mga7.noarch.rpm Test library to generate and compare output
perl-Test-Reporter-1.620.0-4.mga7.noarch.rpm Sends test results to cpan-testers
perl-Test-Reporter-Transport-Metabase-1.999.10-3.mga7.noarch.rpm Metabase transport for Test::Reporter
perl-Test-Requires-0.100.0-4.mga7.noarch.rpm Checks to see if the module can be loaded
perl-Test-Requires-Git-1.8.0-3.mga7.noarch.rpm Check your test requirements against the available version of Git
perl-Test-RequiresInternet-0.50.0-4.mga7.noarch.rpm Easily test network connectivity
perl-Test-Roo-1.4.0-6.mga7.noarch.rpm Test::Roo examples
perl-Test-Run-0.30.400-3.mga7.noarch.rpm Named sprintf according to the
perl-Test-Run-CmdLine-0.13.100-3.mga7.noarch.rpm Command line front-end for Test-Run
perl-Test-Run-Plugin-AlternateInterpreters-0.12.400-4.mga7.noarch.rpm A plugin
perl-Test-Run-Plugin-BreakOnFailure-0.0.5-4.mga7.noarch.rpm Break on the first test failure
perl-Test-Run-Plugin-ColorFileVerdicts-0.12.400-4.mga7.noarch.rpm A subclass
perl-Test-Run-Plugin-ColorSummary-0.20.200-3.mga7.noarch.rpm Color the summary in Test::Run::CmdLine
perl-Test-Run-Plugin-TrimDisplayedFilenames-0.12.500-4.mga7.noarch.rpm Trim the filenames
perl-Test-RunValgrind-0.2.1-1.mga8.noarch.rpm Tests that an external program is valgrind-clean