How to Install and Uninstall libex-monkeypatched-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 10,2024

1. Install "libex-monkeypatched-perl" package

This guide covers the steps necessary to install libex-monkeypatched-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ 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 16.04 LTS (Xenial Xerus):

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

3. Information about the libex-monkeypatched-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libex-monkeypatched-perl
Priority: optional
Section: universe/perl
Installed-Size: 56
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.03-1
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
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
Homepage: https://metacpan.org/release/ex-monkeypatched
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu