How to Install and Uninstall perl-Test-MockModule.noarch Package on Red Hat Enterprise Linux 8 (RHEL 8)
Last updated: January 14,2025
1. Install "perl-Test-MockModule.noarch" package
Please follow the guidance below to install perl-Test-MockModule.noarch on Red Hat Enterprise Linux 8 (RHEL 8)
$
sudo dnf update
Copied
$
sudo dnf install
perl-Test-MockModule.noarch
Copied
2. Uninstall "perl-Test-MockModule.noarch" package
In this section, we are going to explain the necessary steps to uninstall perl-Test-MockModule.noarch on Red Hat Enterprise Linux 8 (RHEL 8):
$
sudo dnf remove
perl-Test-MockModule.noarch
Copied
$
sudo dnf autoremove
Copied
3. Information about the perl-Test-MockModule.noarch package on Red Hat Enterprise Linux 8 (RHEL 8)
Last metadata expiration check: 1:27:05 ago on Mon Feb 26 15:59:38 2024.
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.
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.