How to Install and Uninstall perl-Test-MockModule.noarch Package on AlmaLinux 8

Last updated: November 24,2024

1. Install "perl-Test-MockModule.noarch" package

In this section, we are going to explain the necessary steps to install perl-Test-MockModule.noarch on AlmaLinux 8

$ sudo dnf update $ sudo dnf install perl-Test-MockModule.noarch

2. Uninstall "perl-Test-MockModule.noarch" package

Learn how to uninstall perl-Test-MockModule.noarch on AlmaLinux 8:

$ sudo dnf remove perl-Test-MockModule.noarch $ sudo dnf autoremove

3. Information about the perl-Test-MockModule.noarch package on AlmaLinux 8

Last metadata expiration check: 0:18:52 ago on Mon Sep 5 03:22:42 2022.
Available Packages
Name : perl-Test-MockModule
Version : 0.170.0
Release : 5.el8
Architecture : noarch
Size : 29 k
Source : perl-Test-MockModule-0.170.0-5.el8.src.rpm
Repository : epel
Summary : Override subroutines in a module for unit testing
URL : https://metacpan.org/release/Test-MockModule
License : GPL+ or Artistic
Description : Test::MockModule lets you temporarily redefine subroutines in other packages
: for the purposes of unit testing.
:
: A Test::MockModule object is set up to mock subroutines for a given module. The
: object remembers the original subroutine so it can easily be restored. This
: happens automatically when all MockModule objects for the given module go out
: of scope, or when you unmock() the subroutine.