How to Install and Uninstall libmock-quick-perl Package on Kali Linux

Last updated: May 18,2024

1. Install "libmock-quick-perl" package

Please follow the step by step instructions below to install libmock-quick-perl on Kali Linux

$ sudo apt update $ sudo apt install libmock-quick-perl

2. Uninstall "libmock-quick-perl" package

Please follow the guidelines below to uninstall libmock-quick-perl on Kali Linux:

$ sudo apt remove libmock-quick-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmock-quick-perl package on Kali Linux

Package: libmock-quick-perl
Version: 1.111-2
Installed-Size: 76
Maintainer: Debian Perl Group
Architecture: all
Depends: perl:any, libexporter-declare-perl
Size: 31600
SHA256: a7f973b1200e6ebe2df41af6c389ee3084668e57687df610f137853c7b10a5df
SHA1: eb6b45902a81af4a636173844dad74f7167ed89c
MD5sum: 4cbf06868f760a368a471ba9a22e4c62
Description: Perl module for quick side-effect free mocking of objects and classes
Mock::Quick is here to solve the current problems with Mocking libraries.
.
There are a couple Mocking libraries available on CPAN. The primary
problems with these libraries include verbose syntax, and most
importantly side-effects. Some Mocking libraries expect you to mock a
specific class, and will unload it then redefine it. This is
particularly a problem if you only want to override a class on a
lexical level.
.
Mock::Quick provides a declarative mocking interface that results in a
very concise, but clear syntax. There are separate facilities for
mocking object instances, and classes. You can quickly create an
instance of an object with custom attributes and methods. You can also
quickly create an anonymous class, optionally inhereting from another,
with whatever methods you desire.
.
Mock::Quick also provides a tool that provides an OO interface to
overriding methods in existing classes. This tool also allows for the
restoration of the original class methods. Best of all this is a
localized tool, when your control object falls out of scope the original
class is restored.
Description-md5:
Homepage: https://metacpan.org/release/Mock-Quick
Tag: devel::lang:perl, devel::library, implemented-in::perl
Section: perl
Priority: optional
Filename: pool/main/libm/libmock-quick-perl/libmock-quick-perl_1.111-2_all.deb