How to Install and Uninstall perl-Test-Refcount Package on openSuSE Tumbleweed

Last updated: September 27,2024

1. Install "perl-Test-Refcount" package

In this section, we are going to explain the necessary steps to install perl-Test-Refcount on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-Test-Refcount

2. Uninstall "perl-Test-Refcount" package

Here is a brief guide to show you how to uninstall perl-Test-Refcount on openSuSE Tumbleweed:

$ sudo zypper remove perl-Test-Refcount

3. Information about the perl-Test-Refcount package on openSuSE Tumbleweed

Information for package perl-Test-Refcount:
-------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Test-Refcount
Version : 0.10-1.20
Arch : noarch
Vendor : openSUSE
Installed Size : 41.1 KiB
Installed : No
Status : not installed
Source package : perl-Test-Refcount-0.10-1.20.src
Upstream URL : https://metacpan.org/release/Test-Refcount
Summary : Assert reference counts on objects
Description :
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.