How to Install and Uninstall perl-Test-Time Package on openSUSE Leap

Last updated: May 19,2024

1. Install "perl-Test-Time" package

This guide covers the steps necessary to install perl-Test-Time on openSUSE Leap

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

2. Uninstall "perl-Test-Time" package

Please follow the guidance below to uninstall perl-Test-Time on openSUSE Leap:

$ sudo zypper remove perl-Test-Time

3. Information about the perl-Test-Time package on openSUSE Leap

Information for package perl-Test-Time:
---------------------------------------
Repository : Main Repository
Name : perl-Test-Time
Version : 0.05-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 23.1 KiB
Installed : No
Status : not installed
Source package : perl-Test-Time-0.05-bp155.2.10.src
Upstream URL : http://search.cpan.org/dist/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' 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