How to Install and Uninstall perl-Test-Time Package on openSuSE Tumbleweed

Last updated: May 17,2024

1. Install "perl-Test-Time" package

In this section, we are going to explain the necessary steps to install perl-Test-Time on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-Test-Time

2. Uninstall "perl-Test-Time" package

This guide let you learn how to uninstall perl-Test-Time on openSuSE Tumbleweed:

$ sudo zypper remove perl-Test-Time

3. Information about the perl-Test-Time package on openSuSE Tumbleweed

Information for package perl-Test-Time:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Test-Time
Version : 0.092-1.7
Arch : noarch
Vendor : openSUSE
Installed Size : 23.8 KiB
Installed : No
Status : not installed
Source package : perl-Test-Time-0.092-1.7.src
Upstream URL : https://metacpan.org/release/Test-Time
Summary : Overrides the time() and sleep() core functions for testing
Description :
Test::Time can be used to test modules that deal with time. Once you 'use'
this module, all references to 'time', 'localtime' and 'sleep' will be
internalized. You can set custom time by passing time => number after the
'use' statement:
use Test::Time time => 1;
my $now = time; # $now is equal to 1
sleep 300; # returns immediately, displaying a note
my $then = time; # $then equals to 301