perl-Test-Refcount-0.80.0-3-omv2015.0.noarch.rpm


Advertisement

Description

perl-Test-Refcount - Assert reference counts on objects

Property Value
Distribution OpenMandriva Lx 3.0
Repository OpenMandriva Contrib Release i586
Package name perl-Test-Refcount
Package version 0.80.0
Package release 3-omv2015.0
Package architecture noarch
Package type rpm
Installed size 11.66 KB
Download size 11.87 KB
Official Mirror abf-downloads.openmandriva.org
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.

Alternatives

Package Version Architecture Repository
perl-Test-Refcount-0.80.0-3-omv2015.0.noarch.rpm 0.80.0 noarch OpenMandriva Contrib Release
perl-Test-Refcount - - -

Requires

Name Value
perl(B) -
perl(Scalar::Util) -
perl(Test::Builder::Module) -
perl(abi) >= 5.20.1

Provides

Name Value
perl(Test::Refcount) == 0.80.0
perl-Test-Refcount == 0.80.0-3:2015.0

Download

Type URL
Binary Package perl-Test-Refcount-0.80.0-3-omv2015.0.noarch.rpm
Source Package perl-Test-Refcount-0.80.0-3.src.rpm

Install Howto

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

Files

Path
/usr/lib/perl5/vendor_perl/5.20.1/Test/Refcount.pm
/usr/share/man/man3/Test::Refcount.3pm.xz

See Also

Package Description
perl-Test-Regression-0.70.0-3-omv2015.0.noarch.rpm Test library to generate and compare output
perl-Test-Reporter-1.600.0-3-omv2015.0.noarch.rpm Sends test results to cpan-testers
perl-Test-Script-Run-0.80.0-3-omv2015.0.noarch.rpm Test the script with run
perl-Test-Spec-0.470.0-3-omv2015.0.noarch.rpm RSpec-like testing for Perl
perl-Test-Spelling-0.190.0-3-omv2015.0.noarch.rpm Check for spelling errors in POD
perl-Test-Strict-0.230.0-3-omv2015.0.noarch.rpm Check syntax, presence of use strict; and test coverage
perl-Test-Synopsis-0.100.0-3-omv2015.0.noarch.rpm Test your SYNOPSIS code
perl-Test-Sys-Info-0.200.0-4-omv2015.0.i586.rpm Centralized test suite for Sys::Info
perl-Test-TAP-HTMLMatrix-0.90.0-4-omv2015.0.noarch.rpm Creates colorful matrix of Test::Harness
perl-Test-TAP-Model-0.100.0-4-omv2015.0.noarch.rpm Accessible (queryable, serializable object) result collector
perl-Test-Taint-1.60.0-3-omv2015.0.i586.rpm Tools to test taintedness
perl-Test-TempDir-0.80.0-3-omv2015.0.noarch.rpm A factory for creating L<Test::TempDir::Handle>
perl-Test-TinyMocker-0.50.0-3-omv2015.0.noarch.rpm A very simple tool to mock external modules
perl-Test-Trap-0.2.4-3-omv2015.0.noarch.rpm Trap exit codes, exceptions, output
perl-Test-URI-1.80.0-4-omv2015.0.noarch.rpm Check Uniform Resource Identifiers
Advertisement
Advertisement