How to Install and Uninstall libex-monkeypatched-perl Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 19,2024

1. Install "libex-monkeypatched-perl" package

This guide covers the steps necessary to install libex-monkeypatched-perl on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libex-monkeypatched-perl

2. Uninstall "libex-monkeypatched-perl" package

In this section, we are going to explain the necessary steps to uninstall libex-monkeypatched-perl on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove libex-monkeypatched-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libex-monkeypatched-perl package on Ubuntu 20.10 (Groovy Gorilla)

Package: libex-monkeypatched-perl
Architecture: all
Version: 0.03-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: 56
Depends: perl, libsub-name-perl
Filename: pool/universe/libe/libex-monkeypatched-perl/libex-monkeypatched-perl_0.03-1_all.deb
Size: 8796
MD5sum: 8a5ed91c1b2f2edf5cbeba7a3a6f1052
SHA1: 77f87ccef9b48b72ff09473600079e53a993c6b7
SHA256: 6c228191c1c6c45e3d4236bef90f9a89d69fb72a61f871195b1a21ad504214b0
SHA512: 17bffdac815375c6ae2bac52e8f6b50b0b68f8a7525d07e31b35447ce0effb075f98b183b9e490284f605abb6df40bffc809741027f1936fd4497ce42dc0b9a8
Homepage: https://metacpan.org/release/ex-monkeypatched
Description-en: experimental API for safe monkey-patching
The term "monkey patching" describes injecting additional methods into
a class whose implementation you don't control. If done without care,
this is dangerous; the problematic case arises when:
* You add a method to a class;
* A newer version of the monkey-patched class adds another method of
the same name
* And uses that new method in some other part of its own
implementation.
.
ex::monkeypatched lets you do this sort of monkey-patching safely:
before it injects a method into the target class, it checks whether the
class already has a method of the same name. If it finds such a
method, it throws an exception (at compile-time with respect to the
code that does the injection).
.
See for
more details.
Description-md5: 39a55802e9c706f315d9dd585ce51c07