How to Install and Uninstall perl-Test-MockModule.noarch Package on CentOS Stream 9

Last updated: November 16,2024

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

This tutorial shows how to install perl-Test-MockModule.noarch on CentOS Stream 9

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

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

Please follow the instructions below to uninstall perl-Test-MockModule.noarch on CentOS Stream 9:

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

3. Information about the perl-Test-MockModule.noarch package on CentOS Stream 9

Last metadata expiration check: 0:44:23 ago on Sat Mar 16 16:03:45 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.