How to Install and Uninstall perl-Test-MockModule.noarch Package on Red Hat Enterprise Linux 9 (RHEL 9)

Last updated: July 05,2024

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

Please follow the guidance below to install perl-Test-MockModule.noarch on Red Hat Enterprise Linux 9 (RHEL 9)

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

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

This is a short guide on how to uninstall perl-Test-MockModule.noarch on Red Hat Enterprise Linux 9 (RHEL 9):

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

3. Information about the perl-Test-MockModule.noarch package on Red Hat Enterprise Linux 9 (RHEL 9)

Last metadata expiration check: 2:32:04 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : perl-Test-MockModule
Version : 0.177.0
Release : 1.el9
Architecture : noarch
Size : 29 k
Source : perl-Test-MockModule-0.177.0-1.el9.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.