How to Install and Uninstall perl-Devel-Leak Package on openSUSE Leap

Last updated: May 20,2024

1. Install "perl-Devel-Leak" package

This tutorial shows how to install perl-Devel-Leak on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Devel-Leak

2. Uninstall "perl-Devel-Leak" package

In this section, we are going to explain the necessary steps to uninstall perl-Devel-Leak on openSUSE Leap:

$ sudo zypper remove perl-Devel-Leak

3. Information about the perl-Devel-Leak package on openSUSE Leap

Information for package perl-Devel-Leak:
----------------------------------------
Repository : Main Repository
Name : perl-Devel-Leak
Version : 0.03-bp155.2.11
Arch : x86_64
Vendor : openSUSE
Installed Size : 17.6 KiB
Installed : No
Status : not installed
Source package : perl-Devel-Leak-0.03-bp155.2.11.src
Upstream URL : http://search.cpan.org/~ni-s/Devel-Leak-0.03
Summary : Utility for looking for perl objects that are not reclaimed
Description :
Devel-Leak module for perl
Devel::Leak has two functions NoteSV and CheckSV.
NoteSV walks the perl internal table of allocated SVs (scalar values)
- (which actually contains arrays and hashes too),
and records their addresses in a table. It returns a count of these "things",
and stores a pointer to the table (which is obtained from the heap
using malloc()) in its argument.
CheckSV is passed argument which holds a pointer to a table created by NoteSV.
It re-walks the perl-internals and calls sv_dump() for any "things"
which did not exist when NoteSV was called.
It returns a count of the number of "things" now allocated.
Author: Nick Ing-Simmons