How to Install and Uninstall libsub-delete-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "libsub-delete-perl" package

This guide let you learn how to install libsub-delete-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libsub-delete-perl

2. Uninstall "libsub-delete-perl" package

In this section, we are going to explain the necessary steps to uninstall libsub-delete-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libsub-delete-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libsub-delete-perl package on Ubuntu 21.10 (Impish Indri)

Package: libsub-delete-perl
Architecture: all
Version: 1.00002-2.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: perl:any
Filename: pool/universe/libs/libsub-delete-perl/libsub-delete-perl_1.00002-2.1_all.deb
Size: 7056
MD5sum: a707ec51bced9ef0b3f2b4c2551f9f04
SHA1: 7314b28c14727b39ccd79bd41a24fa65deaa0614
SHA256: d056c787d86a724798d3accc356cec8cf4ce19f5dd332228d2bcf273126273b8
SHA512: ff5867e01222fd82f1010c3b3c539c347b373ca2369832881a92b0a24c177a01d6462a4ef140eb7537c5021e52788822481d8cc53b5fc5c29e0f405750c0e09f
Homepage: https://metacpan.org/release/Sub-Delete
Description-en: Perl module to delete subroutines
Sub::Delete provides one function, delete_sub, that deletes the subroutine
whose name is passed to it. (To load the module without importing the
function, write use Sub::Delete();.)
.
This does more than simply undefine the subroutine in the manner of undef
&foo, which leaves a stub that can trigger AUTOLOAD (and, consequently, won't
work for deleting methods). The subroutine is completely obliterated from the
symbol table (though there may be references to it elsewhere, including in
compiled code).
Description-md5: 7d10986bfcbae5d2fae3612cd05c89bf