How to Install and Uninstall perl-Test-Refcount Package on openSUSE Leap
Last updated: December 23,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 Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Test-Refcount
Copied
2. Uninstall "perl-Test-Refcount" package
This guide let you learn how to uninstall perl-Test-Refcount on openSUSE Leap:
$
sudo zypper remove
perl-Test-Refcount
Copied
3. Information about the perl-Test-Refcount package on openSUSE Leap
Information for package perl-Test-Refcount:
-------------------------------------------
Repository : Main Repository
Name : perl-Test-Refcount
Version : 0.10-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 41.3 KiB
Installed : No
Status : not installed
Source package : perl-Test-Refcount-0.10-bp155.2.10.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.
-------------------------------------------
Repository : Main Repository
Name : perl-Test-Refcount
Version : 0.10-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 41.3 KiB
Installed : No
Status : not installed
Source package : perl-Test-Refcount-0.10-bp155.2.10.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.