How to Install and Uninstall perl-WeakRef Package on openSUSE Leap

Last updated: November 08,2024

1. Install "perl-WeakRef" package

Please follow the instructions below to install perl-WeakRef on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-WeakRef

2. Uninstall "perl-WeakRef" package

Please follow the guidance below to uninstall perl-WeakRef on openSUSE Leap:

$ sudo zypper remove perl-WeakRef

3. Information about the perl-WeakRef package on openSUSE Leap

Information for package perl-WeakRef:
-------------------------------------
Repository : Main Repository
Name : perl-WeakRef
Version : 0.01-bp155.2.10
Arch : x86_64
Vendor : openSUSE
Installed Size : 10.0 KiB
Installed : No
Status : not installed
Source package : perl-WeakRef-0.01-bp155.2.10.src
Upstream URL : http://search.cpan.org/dist/WeakRef/
Summary : API for weak references to be created in Perl
Description :
A patch to Perl 5.005_55 by the author implements a core API for weak
references. This module is a Perl-level interface to that API, allowing
weak references to be created in Perl.
A weak reference is just like an ordinary Perl reference except that it
isn't included in the reference count of the thing referred to. This
means that once all references to a particular piece of data are weak,
the piece of data is freed and all the weak references are set to
undef. This is particularly useful for implementing circular data
structures without memory leaks or caches of objects.