How to Install and Uninstall perl-Mock-Quick.noarch Package on Fedora 35

Last updated: October 06,2024

1. Install "perl-Mock-Quick.noarch" package

This guide covers the steps necessary to install perl-Mock-Quick.noarch on Fedora 35

$ sudo dnf update $ sudo dnf install perl-Mock-Quick.noarch

2. Uninstall "perl-Mock-Quick.noarch" package

Learn how to uninstall perl-Mock-Quick.noarch on Fedora 35:

$ sudo dnf remove perl-Mock-Quick.noarch $ sudo dnf autoremove

3. Information about the perl-Mock-Quick.noarch package on Fedora 35

Last metadata expiration check: 1:06:25 ago on Wed Sep 7 08:25:01 2022.
Available Packages
Name : perl-Mock-Quick
Version : 1.111
Release : 16.fc35
Architecture : noarch
Size : 40 k
Source : perl-Mock-Quick-1.111-16.fc35.src.rpm
Repository : fedora
Summary : Quickly mock objects and classes, side-effect free
URL : https://metacpan.org/release/Mock-Quick
License : GPL+ or Artistic
Description : Mock-Quick is here to solve the current problems with Mocking libraries.
:
: There are a couple of 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-Object 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 inheriting from another, with whatever methods you desire.
:
: Mock-Object 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.