How to Install and Uninstall libhook-wrapsub-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 23,2024

1. Install "libhook-wrapsub-perl" package

Please follow the steps below to install libhook-wrapsub-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libhook-wrapsub-perl

2. Uninstall "libhook-wrapsub-perl" package

Please follow the guidelines below to uninstall libhook-wrapsub-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libhook-wrapsub-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libhook-wrapsub-perl package on Ubuntu 21.10 (Impish Indri)

Package: libhook-wrapsub-perl
Architecture: all
Version: 0.07-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: 27
Depends: perl
Filename: pool/universe/libh/libhook-wrapsub-perl/libhook-wrapsub-perl_0.07-1_all.deb
Size: 10322
MD5sum: aa17bc596cf984c7df7b6df597a46dd7
SHA1: 97b2641543b287c4db4d5103977c8b0b86e6ce05
SHA256: 2b4f0213b40b84fa7ce28b28d05cc215711ff38dc40be24cd2d4c71d01cfc90b
SHA512: aa6c9515831d89e91c774302bd9f39d4b5a6b2a983aa8a00ac5a1e7546b4cc0ed3d2104bc7dc3066119ebb54660c0d332afabca609ae391dfcb11af2232534d6
Homepage: https://metacpan.org/release/Hook-WrapSub
Description-en: module to wrap subs with pre- and post-call hooks
Hook::WrapSub lets you wrap a function, providing one or both of functions
that are called just before and just after, whenever the wrapped function is
called.
.
The wrap_subs() function enables intercepting a call to any named function;
handlers may be added both before and after the call to the intercepted
function.
Description-md5: e5ebbe0c6a26e9d362824e1e50959e15